From b1b4e9fc57a3f403c0e5eae72f138e62cce2d7ee Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Wed, 26 Jul 2017 16:34:07 +0700 Subject: [PATCH] Don't use `yarn generate-introspection` --- package.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 65c802ba8..8064757d3 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "scripts": { "postinstall": "./bin/cli plugins reconcile --skip-remote", "start": "./bin/cli serve -j -w", - "dev-start": "nodemon -w . -w bin/cli -w bin/cli-serve --config .nodemon.json --exec \"yarn generate-introspection && ./bin/cli -c .env serve -j -w\"", - "prebuild": "yarn generate-introspection", + "dev-start": "nodemon -w . -w bin/cli -w bin/cli-serve --config .nodemon.json --exec \"WEBPACK=true NODE_ENV=test ./scripts/generateIntrospectionResult.js && ./bin/cli -c .env serve -j -w\"", + "prebuild": "WEBPACK=true NODE_ENV=test ./scripts/generateIntrospectionResult.js", "build": "WEBPACK=true NODE_ENV=production webpack -p --config webpack.config.js --bail", - "prebuild-watch": "yarn generate-introspection", + "prebuild-watch": "WEBPACK=true NODE_ENV=test ./scripts/generateIntrospectionResult.js", "build-watch": "WEBPACK=true NODE_ENV=development webpack --progress --config webpack.config.js --watch", "lint": "eslint bin/* .", "lint-fix": "eslint bin/* . --fix", @@ -19,8 +19,7 @@ "e2e": "NODE_ENV=test nightwatch", "poste2e": "NODE_ENV=test scripts/poste2e.sh", "embed-start": "NODE_ENV=development yarn build && ./bin/cli serve --jobs", - "heroku-postbuild": "./bin/cli plugins reconcile && yarn build", - "generate-introspection": "WEBPACK=true NODE_ENV=test ./scripts/generateIntrospectionResult.js" + "heroku-postbuild": "./bin/cli plugins reconcile && yarn build" }, "talk": { "migration": {