71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"name": "min-dash",
|
||
|
|
"version": "4.1.1",
|
||
|
|
"description": "Minimum utility toolbelt",
|
||
|
|
"main": "dist/index.cjs",
|
||
|
|
"module": "dist/index.esm.js",
|
||
|
|
"types": "dist/index.d.ts",
|
||
|
|
"type": "module",
|
||
|
|
"files": [
|
||
|
|
"dist"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"all": "run-s lint test distro test:types",
|
||
|
|
"bundle": "rollup -c",
|
||
|
|
"bundle:checksize": "bundlesize",
|
||
|
|
"copy": "cpx 'lib/*.d.ts' dist",
|
||
|
|
"distro": "run-s copy bundle test:integration test:bundle bundle:checksize",
|
||
|
|
"dev": "npm test -- --watch",
|
||
|
|
"lint": "eslint .",
|
||
|
|
"prepublishOnly": "run-s distro",
|
||
|
|
"test": "mocha -r source-map-support/register --full-trace test/*.spec.js",
|
||
|
|
"test:bundle": "rollup -c test/bundling/rollup.config.js",
|
||
|
|
"test:integration": "mocha --full-trace test/integration/*.spec.{cjs,js}",
|
||
|
|
"test:types": "tsc --noEmit"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/bpmn-io/min-dash.git"
|
||
|
|
},
|
||
|
|
"keywords": [
|
||
|
|
"lodash",
|
||
|
|
"utility",
|
||
|
|
"tool",
|
||
|
|
"belt"
|
||
|
|
],
|
||
|
|
"author": "bpmn.io <http://bpmn.io>",
|
||
|
|
"license": "MIT",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/bpmn-io/min-dash/issues"
|
||
|
|
},
|
||
|
|
"sideEffects": false,
|
||
|
|
"homepage": "https://github.com/bpmn-io/min-dash",
|
||
|
|
"devDependencies": {
|
||
|
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
||
|
|
"@types/mocha": "^10.0.1",
|
||
|
|
"bundlesize": "^0.18.1",
|
||
|
|
"chai": "^4.3.4",
|
||
|
|
"cpx": "^1.5.0",
|
||
|
|
"eslint": "^8.28.0",
|
||
|
|
"eslint-plugin-bpmn-io": "^0.16.0",
|
||
|
|
"mocha": "^9.1.0",
|
||
|
|
"npm-run-all": "^4.1.1",
|
||
|
|
"rollup": "^2.56.3",
|
||
|
|
"rollup-plugin-terser": "^7.0.2",
|
||
|
|
"sinon": "^11.1.2",
|
||
|
|
"sinon-chai": "^3.7.0",
|
||
|
|
"source-map-support": "^0.5.19",
|
||
|
|
"typescript": "^5.0.3"
|
||
|
|
},
|
||
|
|
"bundlesize": [
|
||
|
|
{
|
||
|
|
"path": "./dist/min-dash.min.js",
|
||
|
|
"maxSize": "2 kB"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"path": "./test/bundling/bundled.js",
|
||
|
|
"maxSize": "300 B"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|