From 739de3d4ebf9c1f50288b33430a6eaa7c88b7239 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Thu, 1 Jun 2017 08:52:40 -0700 Subject: [PATCH] move npm start from options to root project --- extensions/chromium/runet-censorship-bypass/package.json | 3 ++- .../src/extension-common/pages/options/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/package.json b/extensions/chromium/runet-censorship-bypass/package.json index 531cee1..5fdf7a3 100644 --- a/extensions/chromium/runet-censorship-bypass/package.json +++ b/extensions/chromium/runet-censorship-bypass/package.json @@ -6,7 +6,8 @@ "postinstall": "node --use_strict -e \"const fs = require('fs'), path = 'node_modules/_project-root'; fs.unlink(path, ()=> fs.symlinkSync('..', path, 'dir'));\"", "lint": "eslint ./src/**/*.js --ignore-pattern vendor", "gulp": "gulp", - "test": "mocha --recursive ./src/**/test/*" + "test": "mocha --recursive ./src/**/test/*", + "start": "cd ./src/extension-common/pages/options/ && npm run build && cd - && npm run gulp" }, "author": "Ilya Ig. Petrov", "license": "GPLv3", diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/package.json b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/package.json index a939dbe..925b86a 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/package.json +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/package.json @@ -24,7 +24,8 @@ "build:dev:nocomp": "NODE_ENV=development webpack --define process.env.NODE_ENV=\"'development'\" --env=dev", "build:dev": "NODE_ENV=development webpack --debug --define process.env.NODE_ENV=\"'development'\" --output-pathinfo --env=dev", "gulp": "cd .. && npm run gulp", - "start": "npm run build:dev && npm run gulp" + "build": "npm run build:dev", + "start": "cd .. && npm start" }, "dependencies": { "babel-plugin-inferno": "^3.2.0"