40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"name": "mithril",
|
|
"version": "1.1.2",
|
|
"description": "A framework for building brilliant applications",
|
|
"author": "Leo Horie",
|
|
"license": "MIT",
|
|
"main": "mithril.js",
|
|
"repository": "MithrilJS/mithril.js",
|
|
"scripts": {
|
|
"dev": "node bundler/cli browser.js -o mithril.js -w",
|
|
"build": "npm run build-browser & npm run build-min",
|
|
"build-browser": "node bundler/cli browser.js -o mithril.js",
|
|
"build-min": "node bundler/cli browser.js -o mithril.min.js -m",
|
|
"lintdocs": "node docs/lint",
|
|
"gendocs": "node docs/generate",
|
|
"lint": "eslint . || true",
|
|
"lint:fix": "eslint . --fix",
|
|
"perf": "node performance/test-perf.js",
|
|
"test": "node ospec/bin/ospec",
|
|
"posttest": "npm run lint",
|
|
"cover": "istanbul cover --print both ospec/bin/ospec",
|
|
"release": "npm version -m 'v%s'",
|
|
"preversion": "npm run test",
|
|
"version": "npm run build && git add mithril.js mithril.min.js",
|
|
"postversion": "git push --follow-tags"
|
|
},
|
|
"devDependencies": {
|
|
"@alrra/travis-scripts": "^3.0.1",
|
|
"benchmark": "^2.1.4",
|
|
"eslint": "^3.19.0",
|
|
"gh-pages": "^0.12.0",
|
|
"istanbul": "^0.4.5",
|
|
"marked": "^0.3.6"
|
|
},
|
|
"bin": {
|
|
"ospec": "./ospec/bin/ospec",
|
|
"bundle": "./bundler/bin/bundle"
|
|
},
|
|
"dependencies": {}
|
|
}
|