Skip to content

Commit

Permalink
Tweak build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Jul 22, 2015
1 parent 91acd42 commit ed3edea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
9 changes: 0 additions & 9 deletions .mversionrc

This file was deleted.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@
"description": "Atomic Flux with hot reloading",
"main": "lib/index.js",
"scripts": {
"build": "npm run clean && babel src --out-dir lib && npm run build:umd",
"build:umd": "webpack src/index.js dist/redux.js && NODE_ENV=production webpack src/index.js dist/redux.min.js",
"clean": "rimraf lib dist coverage",
"lint": "eslint src test examples",
"prepublish": "npm run build",
"release": "mversion patch -m",
"release:patch": "mversion patch -m",
"release:minor": "mversion minor -m",
"release:major": "mversion major -m",
"test": "npm run lint && NODE_ENV=test mocha --compilers js:babel/register --recursive",
"test": "NODE_ENV=test mocha --compilers js:babel/register --recursive",
"test:watch": "npm test -- --watch",
"test:cov": "npm run lint && babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive"
"test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive",
"check": "npm run lint && npm run test",
"build:lib": "babel src --out-dir lib",
"build:umd": "webpack src/index.js dist/redux.js && NODE_ENV=production webpack src/index.js dist/redux.min.js",
"build": "npm run build:lib && npm run build:umd",
"preversion": "npm run clean && npm run check",
"version": "npm run build",
"postversion": "git push && git push --tags && npm run clean",
"prepublish": "npm run clean && npm run build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -51,7 +52,6 @@
"expect": "^1.6.0",
"isparta": "^3.0.3",
"mocha": "^2.2.5",
"mversion": "^1.10.0",
"rimraf": "^2.3.4",
"webpack": "^1.9.6",
"webpack-dev-server": "^1.8.2"
Expand Down

0 comments on commit ed3edea

Please sign in to comment.