-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
55 lines (55 loc) · 1.65 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
{
"name": "ltm",
"version": "0.1.0",
"description": "A demo sCrypt smart contract.",
"author": "",
"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@latest compile",
"pretest": "npm run build && npm run compile",
"test": "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"
},
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
],
"**/*.{ts,js}": [
"eslint --cache --fix"
]
},
"dependencies": {
"dotenv": "^16.0.3",
"scrypt-ord": "^1.0.11",
"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.1.6"
},
"license": "MIT"
}