-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.34 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
91
92
93
{
"name": "partsing",
"license": "Apache-2.0",
"homepage": "https://github.com/fponticelli/partsing",
"bugs": {
"url": "https://github.com/fponticelli/partsing/issues"
},
"author": {
"name": "Franco Ponticelli",
"email": "[email protected]",
"url": "https://github.com/fponticelli"
},
"description": "decoder library for TypeScript",
"keywords": [
"typescript",
"parser",
"decoder",
"combinator"
],
"devDependencies": {
"@types/jest": "24.0.15",
"@types/node": "12.6.8",
"codecov": "3.6.5",
"jest": "24.8.0",
"prettier": "1.18.2",
"ts-jest": "24.0.2",
"ts-node": "8.3.0",
"tslint": "5.18.0",
"typedoc": "0.15.0",
"typedoc-plugin-external-module-name": "2.1.0",
"typescript": "3.5.3"
},
"directories": {
"doc": "docs",
"lib": "src",
"test": "test"
},
"repository": {
"type": "git",
"url": "https://github.com/fponticelli/partsing.git"
},
"scripts": {
"build": "rm -rf lib/* && tsc && cp package.npm.json lib/package.json && cp *.md lib && cp LICENSE lib/",
"docs": "rm -rf docs/* && typedoc --options typedoc.js ./src",
"serve-doc": "rm -rf docs/* && compodoc src -s",
"lint": "tslint \"./{src,test}/**/*.ts\"",
"fix-lint": "tslint --fix \"./{src,test}/**/*.ts\"",
"prettier": "prettier --list-different \"./{src,test}/**/*.ts\"",
"fix-prettier": "prettier --write \"./{src,test}/**/*.ts\"",
"prep": "yarn test-coverage && yarn lint && yarn prettier && yarn build && yarn docs",
"test": "jest",
"test-coverage": "jest --coverage",
"watch": "jest --watch --coverage",
"npm-publish": "yarn prep && ( cd lib && yarn publish --access public )"
},
"eslint.packageManager": "yarn",
"jest": {
"rootDir": ".",
"collectCoverageFrom": [
"src/*/**/*.ts"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules"
],
"coverageReporters": [
"json",
"json-summary",
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"transform": {
".+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/*.spec.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}