|
13 | 13 | "scripts": { |
14 | 14 | "setup-opal": "node ./scripts/make-setup-opal.js", |
15 | 15 | "setup-scratch-vm": "cd node_modules/scratch-vm && npm install && $(npm bin)/webpack --colors --bail --silent", |
16 | | - "build": "npm run clean && npm run setup-opal && webpack --colors --bail", |
17 | | - "clean": "rimraf ./static/javascripts/setup-opal.js && rimraf ./build && mkdirp build && rimraf ./dist && mkdirp dist", |
| 16 | + "build": "npm run clean && webpack --colors --bail", |
| 17 | + "clean": "rimraf ./build && mkdirp build && rimraf ./dist && mkdirp dist", |
18 | 18 | "deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"build: build for $(git log --pretty=format:%H -n1) [skip ci]\"", |
19 | 19 | "deploy:smalruby.app": "rimraf node_modules/gh-pages/.cache && echo \"smalruby.app\" > build/CNAME && touch build/.nojekyll && gh-pages -t -d build -m \"build: build for $(git log --pretty=format:%H -n1) [skip ci] \"", |
20 | 20 | "prepare": "path-exists .git && husky install || echo 'not installed husky because .git does not exist'", |
21 | 21 | "prune": "./prune-gh-pages.sh", |
22 | 22 | "i18n:push": "tx-push-src scratch-editor interface translations/en.json", |
23 | 23 | "i18n:src": "rimraf ./translations/messages/src && babel src > tmp.js && rimraf tmp.js && build-i18n-src ./translations/messages/src ./translations/ && npm run i18n:push", |
24 | | - "start": "npm run setup-opal && webpack-dev-server", |
| 24 | + "start": "webpack-dev-server", |
25 | 25 | "test": "npm run test:lint && npm run test:unit && npm run build && npm run test:integration", |
26 | | - "test:integration": "npm run setup-opal && jest --maxWorkers=2 test[\\\\/]integration", |
| 26 | + "test:integration": "jest --maxWorkers=2 test[\\\\/]integration", |
27 | 27 | "test:lint": "eslint . --ext .js,.jsx", |
28 | | - "test:unit": "npm run setup-opal && jest test[\\\\/]unit", |
| 28 | + "test:unit": "jest test[\\\\/]unit", |
29 | 29 | "test:smoke": "jest --runInBand test[\\\\/]smoke", |
30 | | - "watch": "npm run setup-opal && webpack --colors --watch" |
| 30 | + "watch": "webpack --colors --watch" |
31 | 31 | }, |
32 | 32 | "config": { |
33 | 33 | "commitizen": { |
|
0 commit comments