Przeglądaj źródła

Merge pull request #20583 from Mugen87/dev51

package.json: Bring back npm start and dev.
Michael Herzog 4 lat temu
rodzic
commit
3ed787f21a
2 zmienionych plików z 835 dodań i 1 usunięć
  1. 831 1
      package-lock.json
  2. 4 0
      package.json

Plik diff jest za duży
+ 831 - 1
package-lock.json


+ 4 - 0
package.json

@@ -54,8 +54,10 @@
     }
   },
   "scripts": {
+    "start": "npm run dev",
     "test": "npm run test-lint && npm run test-unit",
     "build": "rollup -c utils/build/rollup.config.js",
+    "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
     "lint-fix": "eslint src --ext js --ext ts --fix && eslint examples/js/ --ext js --ext ts --ignore-pattern libs --fix",
     "lint-docs": "eslint docs --ext html",
     "lint-examples": "eslint examples/jsm --ext js --ext ts --ignore-pattern libs && tsc -p utils/build/tsconfig-examples.lint.json",
@@ -90,6 +92,7 @@
     "@babel/core": "^7.12.3",
     "@babel/plugin-proposal-class-properties": "^7.12.1",
     "@babel/preset-env": "^7.12.1",
+    "concurrently": "^5.3.0",
     "@rollup/plugin-babel": "^5.2.1",
     "@typescript-eslint/eslint-plugin": "^4.6.0",
     "@typescript-eslint/parser": "^4.6.0",
@@ -98,6 +101,7 @@
     "eslint-plugin-html": "^6.0.3",
     "rollup": "^2.32.1",
     "rollup-plugin-terser": "^7.0.2",
+    "servez": "^1.10.0",
     "typescript": "^4.0.5"
   },
   "jspm": {

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików