-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.5 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
{
"name": "blclib",
"version": "0.1.0",
"description": "A demo sCrypt library.",
"author": "",
"types": "dist/src/index.d.ts",
"main": "dist/src/index.js",
"scripts": {
"prebuild": "npm run clean",
"build": "tsc",
"clean": "rimraf scrypt.index.json && rimraf dist && rimraf artifacts",
"pretest": "npm run build",
"test": "mocha 'dist/tests/**/*.test.js' --timeout 1200000",
"testnet": "npm run build && mocha 'dist/tests/testnet/**/*.js' --timeout 1200000",
"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"
},
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
],
"**/*.{ts,js}": [
"eslint --cache --fix"
]
},
"dependencies": {
"dotenv": "^16.0.3",
"scrypt-ts": "beta"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.10",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"chai": "^4.3.6",
"eslint": "^8.31.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": "=4.8.4"
},
"license": "MIT"
}