feat: perf testing (#1789)

This commit is contained in:
Pat Cavit 2017-04-13 09:48:30 -07:00 committed by GitHub
parent 034ef4d318
commit 9a55a290cc
5 changed files with 368 additions and 5 deletions

View file

@ -13,10 +13,11 @@
"build-min": "node bundler/cli browser.js -o mithril.min.js -m",
"lintdocs": "node docs/lint",
"gendocs": "node docs/generate",
"lint": "eslint .",
"lint": "eslint . || true",
"lint:fix": "eslint . --fix",
"perf": "node performance/test-perf.js",
"test": "node ospec/bin/ospec",
"posttest": "npm run lint || true",
"posttest": "npm run lint",
"cover": "istanbul cover --print both ospec/bin/ospec",
"release": "npm version -m 'v%s'",
"preversion": "npm run test",
@ -24,6 +25,7 @@
"postversion": "git push --follow-tags"
},
"devDependencies": {
"benchmark": "^2.1.4",
"eslint": "^3.16.1",
"istanbul": "^0.4.3",
"marked": "^0.3.6"