Files
coopgo/node_modules/consolidated-events/package.json
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

55 lines
2.1 KiB
JSON

{
"name": "consolidated-events",
"version": "2.0.2",
"description": "Manage multiple event handlers using few event listeners",
"main": "lib/index.js",
"module": "lib/index.esm.js",
"scripts": {
"build": "npm run clean && npm run build:js",
"build:js": "rollup -c",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0",
"clean": "rimraf lib",
"lint": "eslint .",
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"pretest": "npm run --silent lint",
"tag": "git tag v$npm_package_version",
"test": "npm run --silent test:js",
"test:js": "jest",
"test:js:watch": "jest --watch",
"version:major": "npm --no-git-tag-version version major",
"version:minor": "npm --no-git-tag-version version minor",
"version:patch": "npm --no-git-tag-version version patch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lencioni/consolidated-events.git"
},
"keywords": [
"events",
"performance"
],
"author": "Joe Lencioni <joe.lencioni@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/lencioni/consolidated-events/issues"
},
"homepage": "https://github.com/lencioni/consolidated-events#readme",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^23.0.1",
"babel-preset-airbnb": "^2.5.1",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.12.0",
"in-publish": "^2.0.0",
"jest": "^23.1.0",
"jest-wrap": "^1.4.0",
"rimraf": "^2.6.2",
"rollup": "^0.60.7",
"rollup-plugin-babel": "^3.0.4",
"safe-publish-latest": "^1.1.1"
}
}