package.json - npm install dosen't install dev dependencies -


i have project use npm handling dependencies. project bundled webpack , run on client (it's built using gh-pages hosting) no production dependencies. therefore have devdependencies in package.json. however, when run npm install nothing gets installed. when run npm install --dev dependencies gets installed supposed to. since --dev deprecated tried npm install --only=dev well, nothing gets installed either! there broken in package.json (inserted below) or misunderstanding npm?

{  "name": "boilerplate",  "version": "0.0.1",  "description": "a boilerplate started offline first react/redux app",  "repository": {    "type": "git",    "url": "https://github.com/oskarklintrot/offline-first-react-and-redux-boilerplate"  },  "scripts": {    "start": "webpack-dev-server",    "build": "webpack --progress --colors --production"  },  "private": true,  "devdependencies": {    "babel-core": "^6.2.1",    "babel-eslint": "^4.0.5",    "babel-loader": "^6.2.0",    "babel-polyfill": "^6.2.0",    "babel-preset-es2015": "^6.1.18",    "babel-preset-react": "^6.1.18",    "babel-preset-stage-1": "^6.1.18",    "eslint": "^1.1.0",    "eslint-loader": "^1.0.0",    "eslint-plugin-react": "^3.13.1",    "file-loader": "^0.8.5",    "history": "^1.17.0",    "react": "^0.14.2",    "react-dom": "^0.14.2",    "react-hot-loader": "^1.3.0",    "react-mdl": "^1.0.2",    "react-redux": "^4.0.4",    "react-router": "^1.0.2",    "react-tap-event-plugin": "^0.2.1",    "redux": "^3.0.5",    "redux-devtools": "^3.0.0",    "redux-devtools-dock-monitor": "^1.0.1",    "redux-devtools-log-monitor": "^1.0.1",    "redux-history-transitions": "^1.0.0",    "redux-thunk": "^1.0.2",    "transfer-webpack-plugin": "^0.1.4",    "webpack": "^1.12.9",    "webpack-dev-server": "^1.14.0"  } } 


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -