forked from UselessPickles/ts-enum-util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 3.31 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
88
89
90
{
"name": "ts-enum-util",
"version": "4.0.2",
"description": "TypeScript Enum Utilities",
"repository": {
"type": "git",
"url": "https://github.com/UselessPickles/ts-enum-util.git"
},
"homepage": "https://github.com/UselessPickles/ts-enum-util",
"bugs": {
"url": "https://github.com/UselessPickles/ts-enum-util/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-enum-util-*.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 --removeComments --noErrorTruncation --declaration false --outDir dist/commonjs",
"build:es": "tsc --project src/tsconfig.json --pretty --removeComments --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_9_plus": "dtslint --expectOnly --localTs node_modules/typescript/lib type_tests/v2_9_plus",
"dtslint": "run-s clean:dist build:types dtslint:v2_9_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": "26.0.18",
"coveralls": "3.1.1",
"dtslint": "4.0.7",
"jest": "26.6.3",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"rimraf": "3.0.2",
"ts-jest": "26.4.4",
"tslint": "5.20.1",
"tslint-config-prettier": "1.18.0",
"typescript": "5.3.3"
},
"keywords": [
"typescript",
"string",
"number",
"literal",
"union",
"enum",
"util"
],
"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"
]
}
}