This commit is contained in:
Claudia Meadows 2024-09-24 14:19:23 -07:00
parent 53a4c2f3b4
commit d32d59413e
No known key found for this signature in database
GPG key ID: C86B594396786760
66 changed files with 30 additions and 11387 deletions

View file

@ -9,23 +9,16 @@
"repository": "github:MithrilJS/mithril.js",
"scripts": {
"precommit": "lint-staged",
"watch": "run-p watch:**",
"watch:js": "node scripts/bundler browser.js -output mithril.js -watch",
"watch:docs": "node scripts/generate-docs --watch",
"watch:docs-lint": "node scripts/lint-docs --watch",
"watch": "chokidar-cli -c 'run-s build:browser test' '**' -i 'node_modules' -i '.*' -i ",
"build": "run-p build:browser build:min build:stream-min",
"build:browser": "node scripts/bundler browser.js -output mithril.js",
"build:docs": "node scripts/generate-docs",
"build:min": "node scripts/bundler browser.js -output mithril.min.js -minify -save",
"build:stream-min": "node scripts/minify-stream",
"cleanup:lint": "rimraf .eslintcache",
"lint": "run-s -cn lint:**",
"lint:js": "eslint . --cache",
"lint:docs": "node scripts/lint-docs",
"lint": "eslint . --cache",
"perf": "node performance/test-perf.js",
"pretest": "npm run lint",
"test": "run-s test:js",
"test:js": "ospec",
"test": "ospec",
"cover": "istanbul cover --print both ospec"
},
"devDependencies": {
@ -33,6 +26,7 @@
"@babel/parser": "^7.7.5",
"benchmark": "^2.1.4",
"chokidar": "^3.2.1",
"chokidar-cli": "^3.0.0",
"escape-string-regexp": "^2.0.0",
"eslint": "^8.9.0",
"gh-pages": "^6.1.1",