mithril-vndb/package.json
Isiah Meadows 48e7fd1711
Refactor scripts (#2465)
* Refactor all kinds of scripts

* Update docs to ensure linter passes
2019-07-27 15:12:49 -04:00

64 lines
1.9 KiB
JSON

{
"name": "mithril",
"version": "2.0.1",
"description": "A framework for building brilliant applications",
"author": "Leo Horie",
"license": "MIT",
"unpkg": "mithril.min.js",
"repository": "MithrilJS/mithril.js",
"scripts": {
"precommit": "lint-staged",
"watch": "run-p watch:**",
"watch:js": "node bundler/cli browser.js -output mithril.js -watch",
"watch:docs": "node scripts/watch-docs.js",
"build": "run-p build:**",
"build:browser": "node bundler/cli browser.js -output mithril.js",
"build:docs": "node scripts/generate-docs",
"build:min": "node bundler/cli browser.js -output mithril.min.js -minify -save",
"lint": "run-s -cn lint:**",
"lint:js": "eslint . --cache",
"lint:docs": "node scripts/lint-docs",
"perf": "node performance/test-perf.js",
"pretest": "npm run lint",
"test": "node ospec/bin/ospec",
"posttest": "npm run lint",
"cover": "istanbul cover --print both ospec/bin/ospec",
"release": "node scripts/release",
"release:docs": "node scripts/update-docs",
"version": "npm run build && git add index.js mithril.js mithril.min.js README.md"
},
"devDependencies": {
"@alrra/travis-scripts": "^3.0.1",
"@babel/parser": "^7.5.5",
"benchmark": "^2.1.4",
"chokidar": "^2.0.4",
"dedent": "^0.7.0",
"escape-string-regexp": "^2.0.0",
"eslint": "^5.13.0",
"gh-pages": "^2.0.1",
"glob": "^7.1.4",
"html-minifier": "^4.0.0",
"istanbul": "^0.4.5",
"lint-staged": "^8.1.3",
"locater": "^1.3.0",
"marked": "^0.7.0",
"minimist": "^1.2.0",
"npm-run-all": "^4.1.5",
"pinpoint": "^1.1.0",
"recursive-copy": "^2.0.10",
"request": "^2.88.0",
"request-promise-native": "^1.0.7",
"rimraf": "^2.6.3",
"terser": "^3.16.1"
},
"bin": {
"ospec": "./ospec/bin/ospec"
},
"lint-staged": {
"*.js": [
"eslint . --fix",
"git add"
]
},
"dependencies": {}
}