-
Notifications
You must be signed in to change notification settings - Fork 200
/
package.json
63 lines (63 loc) · 2.03 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
{
"name": "@noir-lang/noir_codegen",
"contributors": [
"The Noir Team <team@noir-lang.org>"
],
"version": "0.24.0",
"packageManager": "yarn@3.5.1",
"license": "(MIT OR Apache-2.0)",
"type": "module",
"homepage": "https://noir-lang.org/",
"repository": {
"url": "https://github.com/noir-lang/noir.git",
"directory": "compiler/wasm",
"type": "git"
},
"bugs": {
"url": "https://github.com/noir-lang/noir/issues"
},
"dependencies": {
"@noir-lang/types": "workspace:*",
"glob": "^10.3.10",
"ts-command-line-args": "^2.5.1"
},
"files": [
"lib",
"package.json"
],
"source": "src/index.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"noir-codegen": "lib/main.js"
},
"scripts": {
"dev": "tsc-multi --watch",
"build": "tsc",
"test": "yarn test:codegen && yarn test:node && yarn test:clean",
"test:codegen": "nargo export --program-dir=./test/test_lib && tsx src/main.ts ./test/test_lib/export/** --out-dir ./test/codegen",
"test:node": "mocha --timeout 25000 --exit --config ./.mocharc.json",
"test:clean": "rm -rf ./test/codegen ./test/test_lib/export",
"prettier": "prettier 'src/**/*.ts'",
"prettier:fix": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0",
"nightly:version": "jq --arg new_version \"-$(git rev-parse --short HEAD)$1\" '.version = .version + $new_version' package.json > package-tmp.json && mv package-tmp.json package.json",
"publish": "echo 📡 publishing `$npm_package_name` && yarn npm publish",
"clean": "rm -rf ./lib"
},
"devDependencies": {
"@noir-lang/noir_js": "workspace:*",
"@types/chai": "^4",
"@types/mocha": "^10.0.1",
"@types/node": "^20.6.2",
"@types/prettier": "^3",
"chai": "^4.3.8",
"eslint": "^8.56.0",
"eslint-plugin-prettier": "^5.0.0",
"mocha": "^10.2.0",
"prettier": "3.0.3",
"ts-node": "^10.9.1",
"tsx": "^4.6.2",
"typescript": "^5.2.2"
}
}