-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
62 lines (62 loc) · 2.19 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
{
"name": "@dashlane/pqc.js",
"version": "1.0.0",
"description": "JavaScript wrapper generator of WebAssembly builds of each round-3 finalists of NIST Post-Quantum Cryptography Competition",
"repository": {
"type": "git",
"url": "[email protected]:Dashlane/pqc.js.git"
},
"keywords": [
"cryptography",
"post-quantum",
"asm.js",
"webassembly"
],
"license": "Apache-2.0",
"author": "Jérôme Boillot <[email protected], [email protected]>",
"main": "dist/kem.js",
"types": "dist/kem.d.ts",
"type": "module",
"files": [],
"scripts": {
"build": "tsc && npm run copy-files",
"copy-files": "cp ./src/*.wasm ./dist/",
"lint": "eslint src",
"format": "prettier --write src && eslint --fix src",
"test": "mocha",
"test:kem": "mocha -g KEM",
"test:sign": "mocha -g SIGN",
"test:primitives": "mocha -g PRIMITIVES",
"__webpack__": "The second part of the following commands is related to https://github.com/vercel/next.js/issues/30646",
"webpack:kem": "npm run clean-bundles && webpack --config bundle/webpack.config.kem.babel.js --env outputFileName=$OUTPUT_FILE_NAME && sed -i 's/document.baseURI/undefined/' bundle/$OUTPUT_FILE_NAME.js",
"webpack:sign": "npm run clean-bundles && webpack --config bundle/webpack.config.sign.babel.js --env outputFileName=$OUTPUT_FILE_NAME && sed -i 's/document.baseURI/undefined/' bundle/$OUTPUT_FILE_NAME.js",
"clean-bundles": "rm -f bundle/pqc-*"
},
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.35",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"babel-loader": "^8.2.5",
"babel-register": "^6.26.0",
"chai": "^4.3.6",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"file-loader": "^6.2.0",
"mocha": "^10.0.0",
"path": "^0.12.7",
"prettier": "^2.6.2",
"process": "^0.11.10",
"string-replace-loader": "^3.1.0",
"ts-node": "^10.8.0",
"typescript": "^4.6.4",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-strip-block": "^0.3.0"
}
}