-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.69 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@gregoranders/csv",
"version": "0.0.13",
"description": "Simple CSV parser in TypeScript",
"scripts": {
"clear": "rimraf ./node_modules ./dist ./test ./package-lock.json ./temp ./docs-tmp",
"prebuild": "eslint ./src/**/*.ts --quiet --fix && rimraf ./build/esm/index.d.ts",
"build": "cross-env NODE_ENV=production npm run script",
"postbuild": "npm run api-extractor && npm run api-documenter && eslint --ext .ts ./src && rimraf ./build/esm/index.d.ts",
"pretest": "rimraf ./test junit.xml",
"test": "jest",
"script": "npm run script:cjs && npm run script:esm",
"script:cjs": "tsc --project ./ --module commonjs --target es5 --outDir ./dist/cjs",
"script:esm": "tsc --project ./ --module es6 --declaration --declarationDir ./dist/esm --outDir ./dist/esm",
"prepare": "husky install",
"api-extractor": "api-extractor run --local --verbose",
"api-documenter": "api-documenter markdown --input ./dist --output ./docs-tmp && cpx 'docs-tmp/**/*.*' docs",
"codeclimate": "docker run --interactive --rm --env CODECLIMATE_CODE=\"$PWD\" --volume \"$PWD\":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze",
"changelog": "changelog"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=16.0"
},
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/gregoranders/ts-csv.git"
},
"keywords": [
"api-documenter",
"api-extractor",
"csv",
"jest",
"typescript"
],
"lint-staged": {
"*.ts": [
"eslint --ext .ts"
]
},
"jest-html-reporter": {
"pageTitle": "ts-csv",
"outputPath": "<rootDir>/test/index.html"
},
"jest-junit": {
"outputDirectory": "<rootDir>/test"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "<rootDir>/test/coverage",
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts",
"!<rootDir>/node_modules/**",
"!<rootDir>/dist/**",
"!<rootDir>/temp/**",
"!<rootDir>/test/**"
],
"coverageReporters": [
"lcovonly",
"html",
"text",
"text-summary"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"reporters": [
"jest-html-reporter",
"jest-spec-reporter",
"jest-junit"
],
"transform": {
"\\.ts$": "ts-jest"
},
"testRegex": "/src/.*\\.spec\\.ts$"
},
"author": "Gregor Anders <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/gregoranders/ts-csv/issues"
},
"homepage": "https://gregoranders.github.io/ts-csv/",
"devDependencies": {
"@commitlint/cli": "18.2.0",
"@commitlint/config-conventional": "18.1.0",
"@microsoft/api-documenter": "7.23.9",
"@microsoft/api-extractor": "7.38.0",
"@types/jest": "29.5.6",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"cpx": "1.5.0",
"cross-env": "7.0.3",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-unicorn": "48.0.1",
"generate-changelog": "1.8.0",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"jest-html-reporter": "3.10.2",
"jest-junit": "16.0.0",
"jest-spec-reporter": "1.0.19",
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"typescript": "5.2.2"
}
}