Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
guigrpa committed Oct 25, 2017
1 parent 408b566 commit 29c197e
Showing 1 changed file with 28 additions and 20 deletions.
48 changes: 28 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,37 +38,45 @@
"ava": "ava --watch",
"flow": "flow check || exit 0",
"lint": "eslint src/timm.js",
"test": "npm run testCovFull",
"test": "yarn testCovFull",
"testFast": "ava",
"testCovFast": "npm run testCovPrepare && npm run testCovDev && npm run testCovReport",
"testCovFull": "npm run testCovPrepare && npm run testCovDev && npm run testCovProd && npm run testCovMin && npm run testCovReport",
"testCovNoMin": "npm run testCovPrepare && npm run testCovDev && npm run testCovProd && npm run testCovReport",
"testCovPrepare": "rm -rf ./coverage .nyc_output .nyc_tmp && mkdir .nyc_tmp",
"testCovDev": "cross-env NODE_ENV=development nyc ava && mv .nyc_output/* .nyc_tmp/",
"testCovProd": "cross-env NODE_ENV=production nyc ava && mv .nyc_output/* .nyc_tmp/",
"testCovMin": "cross-env TEST_MINIFIED_LIB=1 nyc ava && mv .nyc_output/* .nyc_tmp/",
"testCovReport": "cp .nyc_tmp/* .nyc_output/ && nyc report --reporter=html --reporter=lcov",
"compile": "rm -rf ./lib && mkdir lib && babel -o lib/timm.js src/timm.js && cp src/api.js.flow lib/timm.js.flow",
"docs": "extract-docs --template docs/README_TEMPLATE.md --output README.md",
"uglify": "cross-env NODE_ENV=production envify lib/timm.js | uglifyjs - -o lib/timm.min.js --mangle --compress --comments \"/^!/\"",
"build": "npm run lint && npm run flow && npm run compile && npm run uglify && npm run testCovFull && npm run docs && npm run xxl",
"travis": "npm run compile && npm run testCovNoMin",
"testCovFast":
"yarn testCovPrepare && yarn testCovDev && yarn testCovReport",
"testCovFull":
"yarn testCovPrepare && yarn testCovDev && yarn testCovProd && yarn testCovMin && yarn testCovReport",
"testCovNoMin":
"yarn testCovPrepare && yarn testCovDev && yarn testCovProd && yarn testCovReport",
"testCovPrepare":
"rm -rf ./coverage .nyc_output .nyc_tmp && mkdir .nyc_tmp",
"testCovDev":
"cross-env NODE_ENV=development nyc ava && mv .nyc_output/* .nyc_tmp/",
"testCovProd":
"cross-env NODE_ENV=production nyc ava && mv .nyc_output/* .nyc_tmp/",
"testCovMin":
"cross-env TEST_MINIFIED_LIB=1 nyc ava && mv .nyc_output/* .nyc_tmp/",
"testCovReport":
"cp .nyc_tmp/* .nyc_output/ && nyc report --reporter=html --reporter=lcov",
"compile":
"rm -rf ./lib && mkdir lib && babel -o lib/timm.js src/timm.js && cp src/api.js.flow lib/timm.js.flow",
"docs":
"extract-docs --template docs/README_TEMPLATE.md --output README.md",
"uglify":
"cross-env NODE_ENV=production envify lib/timm.js | uglifyjs - -o lib/timm.min.js --mangle --compress --comments \"/^!/\"",
"build":
"yarn lint && yarn flow && yarn compile && yarn uglify && yarn testCovFull && yarn docs && yarn xxl",
"travis": "yarn compile && yarn testCovNoMin",
"xxl": "xxl",
"benchmarks": "coffee tools/benchmarks.coffee"
},
"ava": {
"files": [
"test/*.js"
],
"files": ["test/*.js"],
"babel": "inherit"
},
"repository": {
"type": "git",
"url": "http://guigrpa.github.io/timm/"
},
"keywords": [
"immutability"
],
"keywords": ["immutability"],
"author": "Guillermo Grau Panea",
"license": "MIT"
}

0 comments on commit 29c197e

Please sign in to comment.