-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 3.3 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
{
"name": "ts-string-visitor",
"version": "3.0.1",
"description": "Generic TypeScript Visitor and Mapper for String Enums and String Literal Union Types",
"repository": {
"type": "git",
"url": "https://github.com/UselessPickles/ts-string-visitor.git"
},
"homepage": "https://github.com/UselessPickles/ts-string-visitor",
"bugs": {
"url": "https://github.com/UselessPickles/ts-string-visitor/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-string-visitor-*.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_7_plus": "dtslint type_tests/v2_7_plus",
"dtslint": "run-s build:types dtslint:v2_7_plus",
"test": "run-s compile lint prettier:test dtslint jest",
"test:coverage": "run-s compile lint prettier:test 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": "jlau@uselesspickles.com",
"url": "http://www.uselesspickles.com"
},
"license": "MIT",
"devDependencies": {
"@types/jest": "24.0.11",
"@types/node": "10.9.2",
"coveralls": "3.0.3",
"dtslint": "0.5.5",
"jest": "24.5.0",
"npm-run-all": "4.1.5",
"prettier": "1.16.4",
"rimraf": "2.6.3",
"ts-jest": "24.0.0",
"tslint": "5.14.0",
"tslint-config-prettier": "1.18.0",
"typescript": "3.3.4000"
},
"peerDependencies": {
"typescript": ">= 2.7.1"
},
"keywords": [
"typescript",
"string",
"enum",
"literal",
"visitor",
"mapper"
],
"jest": {
"cacheDirectory": "./jest_cache",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"collectCoverageFrom": [
"src/**/*.{js,ts}",
"!**/node_modules/**"
],
"testRegex": "((\\.|/)(test|spec))\\.(ts|js)$",
"moduleFileExtensions": [
"ts",
"js"
]
}
}