-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
48 lines (48 loc) · 1.84 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
{
"name": "@formbird/json-patcher",
"version": "0.6.7",
"description": "Diff Updater",
"main": "node/index.js",
"browser": "browser/index.mjs",
"types": "types.d.ts",
"license": "MIT OR Apache-2.0",
"repository": "https://github.com/formbird/json-patcher",
"files": [
"Cargo.*",
"src/*",
"browser/**/*",
"node/index.js",
"types.d.ts",
"README.md"
],
"scripts": {
"node:build": "npx cargo-cp-artifact -nc node/diff_updater.node -- cargo build --message-format=json-render-diagnostics",
"node:build:release": "npx cargo-cp-artifact -nc node/diff_updater.node -- cargo build --message-format=json-render-diagnostics --release",
"browser:build": "wasm-pack build --no-package --out-dir browser/dist --dev",
"browser:build:release": "wasm-pack build --no-package --out-dir browser/dist",
"build": "$npm_execpath run node:build && $npm_execpath run browser:build",
"build:release": "$npm_execpath run node:build:release && $npm_execpath run browser:build:release",
"install": "$npm_execpath run node:build:release",
"node:test": "jest",
"browser:test": "vitest **/*.spec.ts",
"test": "$npm_execpath run node:test && $npm_execpath run browser:test"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@types/chai": "^4.3.5",
"@types/jest": "^29.5.1",
"@types/node": "^20.1.5",
"@vitest/browser": "^0.34.3",
"@vitest/ui": "^0.34.3",
"cargo-cp-artifact": "^0.1",
"chai": "^4.3.7",
"jest": "^29.5.0",
"playwright": "^1.38.0",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4",
"vite": "4.3.9",
"vite-plugin-top-level-await": "^1.3.0",
"vite-plugin-wasm": "^3.2.2",
"vitest": "^0.34.3"
}
}