-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.48 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
{
"name": "js-timers",
"version": "0.2.8",
"description": "包含定时器:浏览器中使用的定时器,通过补偿比setInterval更精准;倒计时定时器;(timer: Timer used in browser,More accurate than setInterval; count-down-timer;)",
"main": "index.min.js",
"module": "esm/index.js",
"types": "index.d.ts",
"private": false,
"scripts": {
"babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm",
"build": "cross-env BABEL_ENV=build node build/index",
"test": "jest test/index --coverage=false",
"prettier": "prettier --write \"docs/**/*.md\"",
"lint": "./node_modules/.bin/eslint src/* test/* build/*",
"pub": "npm publish",
"link:add": "yarn link && yarn link %npm_package_name%",
"link:remove": "yarn unlink %npm_package_name% && yarn unlink"
},
"pre-commit": [
"lint"
],
"keywords": [
"timer",
"time",
"countdown",
"count-down",
"setInterval",
"setTimeout",
"js-timer",
"js-timers",
"clock",
"定时器",
"倒计时"
],
"jest": {
"roots": [
"test"
],
"testRegex": "test/(.*?/)?.*test.js$",
"testURL": "http://localhost",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*"
]
},
"homepage": "https://github.com/mayuxian/js-timers/blob/main/README.md",
"repository": {
"type": "git",
"url": "https://github.com/mayuxian/js-timers.git"
},
"publishConfig": { "registry": "https://registry.npmjs.org/" },
"bugs": {
"url": "https://github.com/mayuxian/js-timers/issues"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@rollup/plugin-alias": "^3.1.0",
"@rollup/plugin-babel": "^5.0.2",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.3.2",
"cross-env": "^7.0.2",
"eslint": "^7.1.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^5.0.0",
"jest": "^26.6.3",
"ncp": "^2.0.0",
"prettier": "^2.2.1",
"rollup": "^2.10.5",
"rollup-plugin-uglify": "^3.0.0",
"typescript": "^4.1.3"
},
"author": "mayuxian <[email protected]>",
"license": "MIT",
"dependencies": {}
}