-
Notifications
You must be signed in to change notification settings - Fork 134
/
package.json
110 lines (110 loc) · 4.01 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "o1js",
"description": "TypeScript framework for zk-SNARKs and zkApps",
"version": "2.2.0",
"license": "Apache-2.0",
"homepage": "https://github.com/o1-labs/o1js/",
"repository": {
"type": "git",
"url": "https://github.com/o1-labs/o1js.git"
},
"keywords": [
"mina",
"zkapp",
"zk",
"smart contract",
"cryptography",
"blockchain",
"web3",
"zk-snark",
"zero knowledge"
],
"type": "module",
"exports": {
"types": "./dist/node/index.d.ts",
"browser": "./dist/web/index.js",
"node": {
"import": "./dist/node/index.js",
"require": "./dist/node/index.cjs"
},
"default": "./dist/web/index.js"
},
"types": "./dist/node/index.d.ts",
"files": [
"src/build",
"dist",
"src/**/*.ts",
"src/**/*.d.ts",
"dist/**/*.map",
"src/**/*.map"
],
"bin": {
"snarky-run": "src/build/run.js"
},
"engines": {
"node": ">=18.14.0"
},
"scripts": {
"dev": "npx tsc -p tsconfig.test.json && node src/build/copy-to-dist.js",
"build": "node src/build/copy-artifacts.js && rimraf ./dist/node && npm run dev && node src/build/build-node.js",
"build:bindings": "./src/bindings/scripts/build-o1js-node.sh",
"build:update-bindings": "./src/bindings/scripts/update-o1js-bindings.sh",
"build:wasm": "./src/bindings/scripts/update-wasm-and-types.sh",
"build:web": "rimraf ./dist/web && node src/build/build-web.js",
"build:examples": "npm run build && rimraf ./dist/examples && npx tsc -p tsconfig.examples.json && npx tsc -p benchmark/tsconfig.json",
"build:docs": "npx typedoc",
"prepublish:web": "NODE_ENV=production node src/build/build-web.js",
"prepublish:node": "node src/build/copy-artifacts.js && rimraf ./dist/node && npx tsc -p tsconfig.node.json && node src/build/copy-to-dist.js && NODE_ENV=production node src/build/build-node.js",
"prepublishOnly": "npm run prepublish:web && npm run prepublish:node",
"dump-vks": "npm run build && ./run tests/vk-regression/vk-regression.ts --bundle --dump",
"format": "prettier --write --ignore-unknown **/*",
"clean": "rimraf ./dist && rimraf ./src/bindings/compiled/_node_bindings",
"clean-all": "npm run clean && rimraf ./tests/report && rimraf ./tests/test-artifacts",
"test": "./run-jest-tests.sh",
"test:integration": "./run-integration-tests.sh",
"test:unit": "./run-unit-tests.sh",
"test:e2e": "rimraf ./tests/report && rimraf ./tests/test-artifacts && npx playwright test",
"e2e:prepare-server": "npm run build:examples && (cp -rf dist/examples dist/web || :) && node src/build/e2e-tests-build-helper.js && cp -rf src/examples/plain-html/index.html src/examples/plain-html/server.js tests/artifacts/html/*.html tests/artifacts/javascript/*.js dist/web",
"e2e:run-server": "node dist/web/server.js",
"e2e:install": "npx playwright install --with-deps",
"e2e:show-report": "npx playwright show-report tests/report",
"update-changelog": "./update-changelog.sh",
"checkCommit": "./src/bindings/scripts/check-commit.sh"
},
"author": "O(1) Labs",
"devDependencies": {
"@influxdata/influxdb-client": "^1.33.2",
"@noble/hashes": "^1.3.2",
"@playwright/test": "^1.48.0",
"@types/isomorphic-fetch": "^0.0.36",
"@types/jest": "^27.0.0",
"@types/node": "^18.14.2",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"esbuild": "^0.19.2",
"eslint": "^8.0.0",
"expect": "^29.0.1",
"fs-extra": "^10.0.0",
"glob": "^8.0.3",
"howslow": "^0.1.0",
"jest": "^28.1.3",
"jstat": "^1.9.6",
"minimist": "^1.2.7",
"pkg-pr-new": "^0.0.9",
"prettier": "^2.8.4",
"replace-in-file": "^6.3.5",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.8",
"typedoc": "^0.25.8",
"typedoc-plugin-markdown": "^4.0.0-next.53",
"typedoc-plugin-merge-modules": "^5.1.0",
"typescript": "^5.4.5"
},
"dependencies": {
"blakejs": "1.2.1",
"cachedir": "^2.4.0",
"isomorphic-fetch": "^3.0.0",
"js-sha256": "^0.9.0",
"reflect-metadata": "^0.1.13",
"tslib": "^2.3.0"
}
}