-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 1.82 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
{
"name": "virtual-clock",
"version": "1.2.3",
"description": "A tiny library for configurable virtual clocks",
"author": "Daniël van de Giessen",
"license": "MIT",
"homepage": "https://virtual-clock.js.org",
"repository": {
"type": "git",
"url": "https://github.com/DvdGiessen/virtual-clock.git"
},
"bugs": {
"url": "https://github.com/DvdGiessen/virtual-clock/issues"
},
"keywords": [
"clock",
"timer",
"stopwatch",
"settimout",
"setinterval",
"virtual",
"time",
"timing",
"timeout",
"interval",
"duration",
"event",
"hrtime",
"hpet"
],
"files": [
"dist"
],
"main": "dist/virtual-clock.js",
"module": "dist/virtual-clock.mjs",
"types": "dist/virtual-clock.d.ts",
"scripts": {
"build:clean": "rimraf dist/",
"build:umd": "cross-env NODE_ENV=production babel src --out-dir dist --source-maps --copy-files",
"build:mjs": "flow-remove-types -o dist/virtual-clock.mjs src/virtual-clock.js",
"build": "npm run build:clean && npm run build:umd && npm run build:mjs",
"flow": "flow",
"lint": "eslint src/virtual-clock.js",
"prepare": "npm run build",
"test": "cross-env NODE_ENV=test nyc mocha --ui tdd"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-transform-modules-umd": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-flow": "^7.12.1",
"@babel/register": "^7.12.1",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2",
"cross-env": "^7.0.2",
"eslint": "^7.12",
"eslint-plugin-flowtype": "^5.2",
"flow-bin": "^0.136.0",
"flow-remove-types": "^2.136.0",
"@sinonjs/fake-timers": "^6.0.1",
"mocha": "^8.2.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"sinon": "^9.2.0"
}
}