move npm start from options to root project

This commit is contained in:
Ilya Ig. Petrov 2017-06-01 08:52:40 -07:00
parent f5932cbfeb
commit 739de3d4eb
2 changed files with 4 additions and 2 deletions

View File

@ -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'));\"", "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", "lint": "eslint ./src/**/*.js --ignore-pattern vendor",
"gulp": "gulp", "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", "author": "Ilya Ig. Petrov",
"license": "GPLv3", "license": "GPLv3",

View File

@ -24,7 +24,8 @@
"build:dev:nocomp": "NODE_ENV=development webpack --define process.env.NODE_ENV=\"'development'\" --env=dev", "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", "build:dev": "NODE_ENV=development webpack --debug --define process.env.NODE_ENV=\"'development'\" --output-pathinfo --env=dev",
"gulp": "cd .. && npm run gulp", "gulp": "cd .. && npm run gulp",
"start": "npm run build:dev && npm run gulp" "build": "npm run build:dev",
"start": "cd .. && npm start"
}, },
"dependencies": { "dependencies": {
"babel-plugin-inferno": "^3.2.0" "babel-plugin-inferno": "^3.2.0"