No Description

package.json 861B

12345678910111213141516171819
  1. {
  2. "scripts": {
  3. "serve:dev": "webpack-dev-server",
  4. "serve:release": "serve",
  5. "build:dev": "webpack --mode=development --progress",
  6. "build:dev:wasm": "cargo +nightly build --target wasm32-unknown-unknown && wasm-bindgen target/wasm32-unknown-unknown/debug/wasm_tetris.wasm --out-dir web",
  7. "build:release": "cargo +nightly build --release --target wasm32-unknown-unknown && wasm-bindgen target/wasm32-unknown-unknown/release/wasm_tetris.wasm --out-dir web && webpack --mode=production --progress && cp index.html dist/index.html && mkdirp dist/web && cp -r web/img dist/web/img && cp -r web/sfx dist/web/sfx",
  8. "build:server": "go build serve.go"
  9. },
  10. "devDependencies": {
  11. "webpack": "4.16.1",
  12. "webpack-cli": "3.1.0",
  13. "webpack-dev-server": "3.1.4",
  14. "mkdirp": "0.5.1"
  15. },
  16. "dependencies": {
  17. "howler": "2.0.14"
  18. }
  19. }