fix(pkg): dont use wait-on

This commit is contained in:
moklick
2020-05-11 15:13:25 +02:00
parent 401c572d10
commit 48b2840700
5 changed files with 15 additions and 132 deletions
+2 -4
View File
@@ -51,8 +51,7 @@
"rollup-plugin-typescript2": "^0.27.0",
"rollup-plugin-uglify": "^6.0.4",
"start-server-and-test": "^1.11.0",
"typescript": "^3.8.3",
"wait-on": "^5.0.0"
"typescript": "^3.8.3"
},
"peerDependencies": {
"react": "^16.13.1"
@@ -60,8 +59,7 @@
"scripts": {
"build": "rollup -c --environment NODE_ENV:production",
"start": "rollup -w -c",
"waiton:dist": "wait-on dist/ReactFlow.js",
"dev": "npm start & npm run waiton:dist && cd example && npm start",
"dev": "npm run build && npm start & cd example && npm start",
"dev:wait": "start-server-and-test dev http-get://localhost:3000",
"build:example": "npm install && npm run build && cd example && npm install && npm run build",
"cy:run": "cypress run",