forked from dollarshaveclub/es-check
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
104 lines (104 loc) 路 3.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "es-check",
"version": "6.1.0",
"description": "Checks the ECMAScript version of .js glob against a specified version of ECMAScript with a shell command",
"main": "index.js",
"license": "MIT",
"files": [
"index.js"
],
"bin": {
"es-check": "index.js"
},
"scripts": {
"chore:delete-branch": "if git show-ref --quiet refs/heads/chore-changelog; then git branch -D chore-changelog; fi",
"chore:branch": "git checkout -b chore-changelog",
"chore:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"chore:pr": "git add . && git commit -m '[chore] updates changelog' --no-verify && git push origin chore-changelog -f",
"chore": "npm run chore:delete-branch && npm run chore:branch && npm run chore:changelog && npm run chore:pr",
"lint": "eslint index.js --fix",
"lint:ci": "eslint index.js",
"prepush": "npm run lint && npm test",
"postpublish": "git tag $npm_package_version && git push origin --tags && npm run chore",
"report:coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"test": "nyc mocha test.js --timeout 10s --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yowainwright/es-check.git"
},
"author": "Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in), Brian Gonzalez <me@briangonzalez.org>",
"bugs": {
"url": "https://github.com/yowainwright/es-check/issues"
},
"homepage": "https://github.com/yowainwright/es-check#readme",
"devDependencies": {
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/prompt": "^13.1.0",
"assert": "^2.0.0",
"codecov": "^3.0.0",
"commitizen": "^4.2.2",
"conventional-changelog-cli": "^2.0.11",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier-standard": "^4.0.1",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"husky": "^7.0.1",
"mocha": "^9.0.1",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"prettier-config-standard": "^4.0.0"
},
"dependencies": {
"acorn": "^8.4.1",
"@caporal/core": "^2.0.2",
"glob": "^7.1.7"
},
"engines": {
"node": ">= 4"
},
"keywords": [
"check for es6",
"check for modules",
"es",
"es check",
"es matching",
"es version",
"ecmascript",
"ecmascript check",
"ecmascript matching",
"ecmascript version",
"js",
"js version",
"js version check",
"js version matching",
"test js version",
"test ecmascript version"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
120
]
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-checkout": "if [[ $HUSKY_GIT_PARAMS =~ 1$ ]]; then yarn; fi",
"post-merge": "yarn",
"post-rewrite": "yarn",
"pre-commit": "yarn test && yarn lint"
}
}
}