-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
63 lines (63 loc) · 1.83 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": "@charming-art/terminal",
"description": "The terminal renderer for Charming.",
"version": "0.0.1",
"author": {
"name": "pearmini",
"url": "https://github.com/pearmini"
},
"type": "module",
"license": "ISC",
"main": "dist/es/index.js",
"module": "dist/es/index.js",
"jsdelivr": "dist/cell.umd.min.js",
"unpkg": "dist/cell.umd.min.js",
"exports": {
"umd": "./dist/cell.umd.min.js",
"default": "./dist/es/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/charming-art/cell.git"
},
"files": [
"dist/**/*.js",
"dist/**/*.wasm"
],
"scripts": {
"dev": "npm run build:rust && vite",
"test": "npm run test:rust && npm run test:js && npm run test:lint && npm run test:format",
"test:js": "npm run build:rust && vitest",
"test:rust": "cargo test --manifest-path ./rust/Cargo.toml",
"test:lint": "eslint src test",
"test:format": "prettier --check src test && cargo fmt --manifest-path ./rust/Cargo.toml --check",
"build": "npm run build:rust && npm run build:js",
"build:js": "rm -rf dist && rollup -c",
"build:rust": "rm -rf ./src/wasm && wasm-pack build ./rust --out-dir ../src/wasm --out-name index --target web",
"preview": "npm run build && vite preview",
"prepublishOnly": "npm run build"
},
"sideEffects": false,
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-wasm": "^6.2.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.0",
"prettier": "^2.8.8",
"rollup": "^3.29.5",
"vite": "^4.5.5",
"vitest": "^0.32.4",
"wasm-pack": "^0.13.0"
},
"dependencies": {
"d3-color": "^3.1.0",
"d3-timer": "^3.0.1"
},
"engines": {
"node": ">=14.18"
},
"publishConfig": {
"access": "public"
}
}