-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
48 lines (48 loc) · 1.39 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
{
"name": "builder-pattern",
"repository": "https://github.com/Vincent-Pang/builder-pattern.git",
"version": "2.2.0",
"license": "MIT",
"scripts": {
"build": "yarn run tsup ./src/index.ts --format cjs,esm",
"buildWithDts": "yarn run tsup ./src/index.ts --format cjs,esm --dts --sourcemap",
"test": "jest",
"lint": "eslint -c .eslintrc.js --ext .ts src/**/*.ts __tests__/**/*.ts",
"prepublishOnly": "rimraf dist && yarn run buildWithDts"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"jest": {
"preset": "ts-jest/presets/default",
"collectCoverage": true,
"coverageDirectory": "test_coverage_dir",
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"devDependencies": {
"@types/jest": "^29.1.2",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"eslint": "^8.25.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jest": "^29.2.0",
"prettier": "2.7.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"tslint": "^6.1.3",
"tsup": "^6.2.3",
"typescript": "^4.8.4"
}
}