-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (26 loc) · 1.14 KB
/
package.json
File metadata and controls
29 lines (26 loc) · 1.14 KB
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
{
"name": "@r2o3/rgchart",
"version": "0.0.12",
"description": "A library for parsing and writing rhythm game charts.",
"license": "MIT",
"author": "menvae",
"repository": {
"type": "git",
"url": "https://github.com/R2O3/rgchart"
},
"scripts": {
"build": "wasm-pack build --target nodejs --out-dir dist-node && wasm-pack build --target web --out-dir dist-web",
"build-release": "wasm-pack build --release --target nodejs --out-dir dist-node && wasm-pack build --release --target web --out-dir dist-web && npm run fix-pkg",
"fix-pkg": "node scripts/fix-pkg.js",
"pack-node": "cd dist-node && npm pack && shx mv rgchart-*.tgz ../rgchart-node.tgz",
"pack-web": "cd dist-web && npm pack && shx mv rgchart-*.tgz ../rgchart-web.tgz",
"pack": "npm run build-release && npm run pack-node && npm run pack-web",
"publish-node": "cd dist-node && npm publish --access public",
"publish-web": "cd dist-web && npm publish --access public",
"publish": "npm run build-release && npm run publish-node && npm run publish-web",
"prepublish": "npm run build-release"
},
"dependencies": {
"shx": "^0.4.0"
}
}