-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 1.88 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 1.88 KB
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
{
"name": "@jam3/wait",
"version": "1.0.0",
"description": "Wait a specific amount of time and return a promise, \"setTimeout promisified\"",
"main": "src/index.js",
"scripts": {
"test": "jest --watch",
"test-ci": "jest --ci && npm run linters && npm run size",
"size": "size-limit",
"linters": "eslint './src/**/*.js'"
},
"keywords": [
"timeout",
"promises",
"promisified",
"milliseconds"
],
"engines": {
"node": ">=10.15.0",
"npm": ">=6.5.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Jam3/wait.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Jam3/wait/issues"
},
"homepage": "https://github.com/Jam3/wait#readme",
"devDependencies": {
"@commitlint/cli": "^7.5.0",
"@commitlint/config-conventional": "^7.5.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.13.0",
"eslint-config-jam3": "^0.1.4",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^4.0.1",
"husky": "^1.3.1",
"jest": "^24.0.0",
"lint-staged": "^8.1.3",
"prettier": "^1.16.4",
"size-limit": "^0.21.1"
},
"size-limit": [
{
"limit": "50 B",
"path": "src/index.js"
}
],
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!**/node_modules/**"
]
},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"__tests__/**/*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "echo 'Pre-commit checks...' && lint-staged",
"pre-push": "echo 'Pre-push checks...' && npm run test-ci",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}