all: remove running npm run build in root monorepo - move concerns into each package

-this prevents situations like building the docs twice
-this enables each package to more finely tune how and when it builds
This commit is contained in:
Brian Mann
2017-05-17 17:57:52 -04:00
parent 1cc20ff5b4
commit 54fe5166e9
9 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"test": "echo 'This runs just the CLI tests' && mocha",
"test-watch": "mocha --watch",
"test-e2e": "blah",
"postinstall": "npm run all install && npm run build"
"postinstall": "npm run all install"
},
"author": "",
"license": "MIT",
+1
View File
@@ -4,6 +4,7 @@
"description": "Desktop GUI for managing Cypress projects.",
"main": "lib/gui.js",
"scripts": {
"postinstall": "npm run build",
"build": "zunder build-dev",
"build-prod": "node ./scripts/build-prod.js",
"run-prod": "npm run build-prod && npm run server",
+1
View File
@@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"postinstall": "npm run build",
"build": "gulp build",
"watch": "gulp watch",
"clean-deps": "rm -rf node_modules",
+1
View File
@@ -4,6 +4,7 @@
"description": "Interal Cypress repo for managing https://example.cypress.io",
"main": "index.js",
"scripts": {
"postinstall": "npm run build",
"clean-deps": "rm -rf node_modules",
"test": "NODE_ENV=test mocha",
"test-e2e": "cypress run",
+1
View File
@@ -4,6 +4,7 @@
"description": "Cypress Chrome Extension",
"main": "index.js",
"scripts": {
"postinstall": "npm run build",
"watch": "gulp watch",
"build": "gulp build",
"build-prod": "gulp build",
-1
View File
@@ -5,7 +5,6 @@
"main": "index.js",
"types": "../ts/index.d.ts",
"scripts": {
"build": "npm run lint",
"pretest": "npm run lint",
"test": "mocha",
"clean-deps": "rm -rf node_modules",
+1
View File
@@ -4,6 +4,7 @@
"main": "lib/reporter",
"browser": "src/main",
"scripts": {
"postinstall": "npm run build",
"build": "node ./scripts/build-dev.js",
"build-prod": "node ./scripts/build-prod.js",
"watch": "node ./scripts/watch.js",
+1
View File
@@ -12,6 +12,7 @@
},
"homepage": "https://github.com/cypress-io/cypress-core-runner#readme",
"scripts": {
"postinstall": "npm run build",
"build": "node ./scripts/build-dev.js",
"build-prod": "node ./scripts/build-prod.js",
"watch": "node ./scripts/watch.js",
+1
View File
@@ -2,6 +2,7 @@
"name": "static",
"main": "index.js",
"scripts": {
"postinstall": "npm run build",
"build": "gulp build",
"test": "echo 'Nothing to test yet'"
},