-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.77 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
{
"name": "spectrum",
"version": "1.0.0",
"description": "Animate randomly-generated art with Rust + WebAssembly.",
"scripts": {
"build": "rm -rf dist && webpack --config webpack.config.js && npm run minify",
"format": "prettier --write \"**/*.{js,json,md,css}\"",
"format:check": "prettier --check \"**/*.{js,json,md,css}\"",
"minify": "html-minifier-terser --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype dist/index.html -o dist/index.html && cleancss dist/static/spectrum.css -o dist/static/spectrum.css",
"lint": "eslint src && stylelint \"static/**/*.css\" && markdownlint README.md",
"lint:fix": "eslint src && stylelint \"static/**/*.css\" && markdownlint --fix README.md",
"serve": "static-server dist",
"start": "webpack-dev-server",
"wasm-pack": "wasm-pack build --out-dir wasm-spectrum --dev --features debug",
"wasm-pack:release": "wasm-pack build --out-dir wasm-spectrum --release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/arpanlaha/spectrum.git"
},
"license": "MIT",
"dependencies": {
"wasm-spectrum": "file:wasm-spectrum"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.2",
"clean-css-cli": "^5.2.2",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.40.0",
"eslint-plugin-import": "^2.27.5",
"html-minifier-terser": "^7.2.0",
"markdownlint-cli": "^0.34.0",
"prettier": "^2.2.1",
"static-server": "^2.2.1",
"stylelint": "^15.6.1",
"stylelint-config-standard": "^33.0.0",
"ts-loader": "^9.2.6",
"typescript": "^5.0.4",
"webpack": "^5.29.0",
"webpack-cli": "^5.0.2",
"webpack-dev-server": "^4.4.0"
}
}