-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "cat721escrow",
"version": "0.1.0",
"description": "A demo sCrypt smart contract.",
"author": "",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"prebuild": "npm run clean",
"build": "tsc",
"deploy": "npx ts-node ./deploy.ts",
"clean": "rimraf scrypt.index.json && rimraf dist && rimraf artifacts",
"compile": "npx scrypt-cli compile",
"pretest": "npm run build && npm run compile",
"test": "npm run test:mocha",
"test:mocha": "cross-env NETWORK=local mocha",
"pretest:testnet": "npm run build && npm run compile",
"test:testnet": "cross-env NETWORK=testnet mocha --no-timeouts",
"genprivkey": "npx ts-node tests/utils/privateKey.ts",
"lint": "eslint . --ext .js,.ts --fix && prettier --write --ignore-unknown \"**/*\"",
"lint-check": "eslint . --ext .js,.ts && prettier --check --ignore-unknown \"**/*\"",
"prepare": "husky install",
"prepublishOnly": "npm run build && npm run compile"
},
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
],
"**/*.{ts,js}": [
"eslint --cache --fix"
]
},
"dependencies": {
"dotenv": "^16.0.3",
"scrypt-ts": "latest"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.10",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.48.0",
"eslint-config-prettier": "^8.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"mocha": "^10.1.0",
"prettier": "^2.8.2",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "~5.3.3",
"scrypt-cli": "^0.2.0"
},
"license": "MIT"
}