-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
45 lines (45 loc) · 1.33 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
{
"author": "Christophe Rosset <[email protected]> (http://labs.topheman.com/)",
"name": "rust-wasm-experiments",
"version": "0.2.0",
"repository": "https://github.com/topheman/rust-wasm-experiments",
"license": "Apache-2.0/MIT",
"scripts": {
"start": "webpack-dev-server -d",
"build": "webpack --mode production",
"serve": "serve ./dist",
"deploy": "gh-pages -d dist",
"pretty": "npx prettier --write '**/*.{js,jsx,json,css,scss}'",
"test": "npm run test:js && npm run test:rust",
"test:js": "echo \"No JavaScript tests\" && exit 0",
"test:rust": "cd ./crate && cargo test",
"lint:precommit": "echo \"No precommit linting yet\" && exit 0",
"test:precommit": "npm test"
},
"bin": {
"create-rust-webpack": ".bin/create-rust-webpack.js"
},
"lint-staged": {
"**/*.{js,jsx,json,css,scss}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint:precommit && npm run test:precommit"
}
},
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "^0.4.2",
"gh-pages": "^2.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.7",
"prettier": "1.15.3",
"serve": "^10.1.1",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.5.1"
}
}