-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.92 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
{
"name": "rust-wasm-canvas-example",
"version": "1.0.0",
"private": false,
"description": "Rust WASM example managing Canvas API ",
"main": "dist/index.html",
"scripts": {
"clean:js": "rimraf dist",
"fmt": "cd src && cargo +nightly fmt",
"clippy": "cd src && cargo clippy",
"prettier": "prettier --write \"*.{js,md,json}\" \"js/*.{css,html,js}\"",
"build:css": "postcss styles --dir dist/css",
"watch:css": "nodemon -x $npm_execpath run build:css -e css,html -w styles -w js",
"watch:js": "NODE_ENV=development webpack serve",
"dev": "concurrently \"$npm_execpath run watch:css\" \"$npm_execpath run watch:js\"",
"build": "rimraf dist pkg && $npm_execpath run build:css && NODE_ENV=production webpack",
"test": "cargo test && wasm-pack test --headless --firefox"
},
"repository": "https://github.com/minagawah/rust-wasm-canvas-example.git",
"keywords": [
"wasm-pack",
"web-sys",
"wasm-bindgen",
"Canvas API"
],
"author": "minagawah <minag@tokyo800.jp>",
"license": "(Unlicense OR MIT)",
"bugs": {
"url": "https://github.com/minagawah/rust-wasm-canvas-example/issues"
},
"dependencies": {
"core-js": "^3.37.1"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.25.0",
"@wasm-tool/wasm-pack-plugin": "^1.7.0",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^8.2.2",
"css-loader": "^7.1.2",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"nodemon": "^3.1.4",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"postcss-mixins": "^10.0.1",
"postcss-preset-env": "^9.6.0",
"prettier": "^3.3.3",
"rimraf": "^5.0.9",
"style-loader": "^4.0.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
}
}