-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
54 lines (54 loc) · 2.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"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 <[email protected]>",
"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"
}
}