-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
87 lines (87 loc) · 3.19 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
{
"name": "ts-stopwatch",
"version": "0.0.4",
"description": "Stopwatch timer utility written in TypeScript",
"repository": {
"type": "git",
"url": "https://github.com/UselessPickles/ts-stopwatch.git"
},
"homepage": "https://github.com/UselessPickles/ts-stopwatch",
"bugs": {
"url": "https://github.com/UselessPickles/ts-stopwatch/issues"
},
"files": [
"dist",
"src"
],
"main": "dist/commonjs/index.js",
"jsnext:main": "dist/es/index.js",
"module": "dist/es/index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"clean:dist": "rimraf dist",
"clean:coverage": "rimraf coverage",
"clean:pack": "rimraf ts-stopwatch-*.tgz",
"compile": "tsc --project tsconfig.json --noEmit --pretty --noErrorTruncation",
"lint": "tslint --config tslint.json --project tsconfig.json",
"lint:fix": "npm run lint -- --fix",
"prettier:test": "prettier --list-different \"{src,tests,type_tests}/**/*.ts\"",
"prettier:fix": "prettier --write \"{src,tests,type_tests}/**/*.ts\"",
"build:types": "tsc --project src/tsconfig.json --pretty --noErrorTruncation --emitDeclarationOnly true --declarationMap true --outDir dist/types",
"build:commonjs": "tsc --project src/tsconfig.json --pretty --noErrorTruncation --declaration false --outDir dist/commonjs",
"build:es": "tsc --project src/tsconfig.json --pretty --noErrorTruncation --declaration false -m es6 --outDir dist/es",
"build": "npm run clean:dist && run-p build:types build:es build:commonjs",
"pack": "run-p clean:pack build && npm pack",
"jest": "jest",
"jest:coverage": "npm run clean:coverage && jest --coverage",
"dtslint:v2_0_plus": "dtslint type_tests",
"dtslint": "run-s clean:dist build:types dtslint:v2_0_plus",
"test": "run-s compile prettier:test lint dtslint jest",
"test:coverage": "run-s compile prettier:test lint dtslint jest:coverage",
"build:travis": "run-p test:coverage build && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"author": {
"name": "Jeff Lau",
"email": "[email protected]",
"url": "http://www.uselesspickles.com"
},
"license": "MIT",
"devDependencies": {
"@types/jest": "24.0.23",
"coveralls": "3.0.7",
"dtslint": "2.0.2",
"jest": "24.9.0",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"rimraf": "3.0.0",
"ts-jest": "24.1.0",
"tslint": "5.20.1",
"tslint-config-prettier": "1.18.0",
"typescript": "3.7.2"
},
"keywords": [
"typescript",
"stopwatch",
"timer",
"timing"
],
"jest": {
"cacheDirectory": "./jest_cache",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.{js,ts}",
"!**/node_modules/**"
],
"coverageReporters": [
"text",
"lcov"
],
"testRegex": "((\\.|/)(test|spec))\\.(ts|js)$",
"moduleFileExtensions": [
"ts",
"js"
]
}
}