-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.67 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
60
61
62
63
64
65
{
"name": "wasm-rsa",
"version": "0.4.0",
"author": "Ilya Shvyryalkin <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Harzu/wasm-rsa.git"
},
"keywords": [
"rsa",
"wasm",
"rust",
"wasm-rsa",
"typescript",
"cryptography"
],
"main": "lib/index.node.js",
"browser": "lib/index.browser.js",
"scripts": {
"build": "npm run build:wasm; npm run build:browser; npm run build:node",
"build:browser": "tsc -p configs/tsconfig.browser.json",
"build:node": "tsc -p configs/tsconfig.node.json",
"build:wasm": "sh ./scripts/build.sh",
"publish": "npm publish --access",
"test:rust": "cargo test",
"test:ts": "TS_NODE_PROJECT=./configs/tsconfig.node.json mocha --timeout 999999999 --require ts-node/register src/tests/**/*.spec.ts",
"test": "npm run test:rust; npm run test:ts",
"doc": "rm -rf ./docs/; esdoc",
"show_doc": "serve ./docs"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"src/*.ts": [
"tslint",
"git add"
]
},
"devDependencies": {
"@types/chai": "4.1.6",
"@types/mocha": "5.2.5",
"@types/node": "10.9.4",
"chai": "^4.1.2",
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"esdoc-typescript-plugin": "^1.0.1",
"husky": "^1.3.1",
"lint-staged": "^7.1.2",
"mocha": "^5.0.1",
"serve": "^11.0.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-eslint-rules": "^5.3.1",
"typescript": "^3.3.1"
},
"dependencies": {
"randombytes": "^2.1.0"
}
}