-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
65 lines (65 loc) · 1.63 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
{
"name": "await-timeout",
"version": "1.1.1",
"description": "A Promise-based API for setTimeout / clearTimeout",
"author": {
"name": "Vitaliy Potapov",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git://github.com/vitalets/await-timeout.git"
},
"engines": {
"node": ">=6"
},
"main": "src/index.js",
"files": [
"src/",
"es5/",
"README.md"
],
"scripts": {
"lint": "eslint src test scripts",
"test": "mocha test/setup test/specs",
"test:installed": "node scripts/install-local && LIB_PATH=../.installed/node_modules/await-timeout npm t",
"build:es5": "babel src -d es5 --presets=@babel/preset-env",
"ci": "npm run lint && npm test",
"prerelease": "run-s lint test test:installed build:es5",
"release": "npm version $VER && npm publish",
"postrelease": "git push --follow-tags --no-verify",
"release-patch": "VER=patch npm run release",
"release-minor": "VER=minor npm run release"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test",
"pre-push": "npm run lint && npm test"
}
},
"lint-staged": {
"**/*.js": "eslint"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"assert-rejects": "^1.0.0",
"eslint": "^7.18.0",
"husky": "^4.3.8",
"install-local": "^3.0.1",
"lint-staged": "^10.5.3",
"mocha": "^8.2.1",
"npm-run-all": "^4.1.5",
"sinon": "^9.2.4"
},
"keywords": [
"timeout",
"promise",
"promise-api",
"promises",
"settimeout",
"cleartimeout"
],
"license": "MIT"
}