Skip to content

Commit

Permalink
refactor(npm): clean up and simplify npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Rötsch authored and Khaledgarbaya committed Apr 16, 2018
1 parent c052627 commit 08f0cec
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions package.json
Expand Up @@ -12,8 +12,6 @@
"scripts": {
"build": "npm run clean && babel lib --out-dir dist",
"clean": "rimraf dist",
"prepublishOnly": "npm run build",
"postpublish": "npm run clean",
"lint": "eslint lib bin/contentful-import test",
"pretest": "npm run lint && npm run build",
"test": "npm run test:unit && npm run test:integration",
Expand All @@ -23,16 +21,9 @@
"test:integration": "jest --testPathPattern=test/integration",
"test:integration:debug": "node --inspect-brk ./node_modules/.bin/jest --runInBand --watch --testPathPattern=test/integration",
"test:integration:watch": "npm run test:integration -- --watch",
"browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"devmanage:build": "pushd ../contentful-management.js && npm run build && popd",
"devmanage:clean": "pushd ../contentful-management.js && npm run clean && popd",
"devmanage:install": "npm run devmanage:build && rm -rf node_modules/contentful-management.js && npm install ../contentful-management.js && npm run devmanage:clean",
"devmanage:uninstall": "npm run devmanage:clean && rimraf node_modules/contentful-management.js",
"devdep:build": "pushd ../contentful-batch-libs && npm run build && popd",
"devdep:clean": "pushd ../contentful-batch-libs && npm run clean && popd",
"devdep:install": "npm run devdep:build && rm -rf node_modules/contentful-batch-libs && npm install ../contentful-batch-libs && npm run devdep:clean",
"devdep:uninstall": "npm run devdep:clean && rimraf node_modules/contentful-batch-libs",
"prepublishOnly": "npm run build",
"postpublish": "npm run clean",
"precommit": "npm run lint",
"prepush": "npm run test:unit"
},
Expand Down Expand Up @@ -69,8 +60,6 @@
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-template": "^6.23.0",
"babel-types": "^6.23.0",
"codecov": "^3.0.0",
"contentful-management": "^4.0.2",
"cz-conventional-changelog": "^2.0.0",
Expand All @@ -84,7 +73,6 @@
"husky": "^0.14.3",
"jest": "^21.2.1",
"nixt": "^0.5.0",
"opener": "^1.4.1",
"rimraf": "^2.5.0",
"semantic-release": "^6.3.6"
},
Expand All @@ -93,9 +81,6 @@
"dist",
"example-config.json"
],
"standard": {
"parser": "babel-eslint"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down

0 comments on commit 08f0cec

Please sign in to comment.