-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
71 lines (71 loc) · 2.21 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
{
"name": "ts-library-template",
"version": "3.12.0",
"repository": "[email protected]:dzek69/ts-library-template.git",
"license": "MIT",
"scripts": {
"test": "NODE_ENV=test jest",
"docs": "typedoc src/index.ts --skipErrorChecking --out docs --includeVersion",
"compile": "pnpm run compile:esm && pnpm run compile:cjs",
"compile:esm": "rm -rf esm && tsc --project tsconfig.esm.json && node ./build-scripts/compile.esm.after.mjs",
"compile:cjs": "rm -rf dist && tsc --project tsconfig.cjs.json && node ./build-scripts/compile.cjs.after.mjs",
"typecheck": "tsc --noEmit",
"lint": "eslint src",
"lint:fix": "pnpm run lint --fix",
"prepack": "pnpm run compile",
"prepublishOnly": "pnpm run lint && pnpm run test && pnpm run docs",
"prepare": "husky install",
"start:dev": "nodemon",
"start:dev:compatibility": "TS_NODE_FILES=true pnpm run start:dev",
"updates": "pnpm dlx npm-check-updates --dep prod",
"updates:dev": "pnpm dlx npm-check-updates --dep dev",
"updates:all": "pnpm dlx npm-check-updates"
},
"exports": {
".": {
"require": "./dist/index.js",
"default": "./esm/index.js"
}
},
"main": "./dist/index.js",
"types": "./esm/index.d.ts",
"module": "./esm/index.js",
"type": "module",
"bin": {
"ts-library-template": "./dist/index.js",
"tslib": "./dist/index.js"
},
"dependencies": {
"@ezez/utils": "^1.9.0",
"empty-dir": "^3.0.0",
"eslint": "^9.3.0",
"fs-extra": "^11.1.1",
"json5": "^2.2.3",
"semver": "^7.5.4"
},
"devDependencies": {
"@babel/core": "^7.22.20",
"@babel/preset-env": "^7.22.20",
"@babel/preset-typescript": "^7.22.15",
"@ezez/eslint": "^0.0.6",
"@knodes/typedoc-plugin-pages": "^0.23.4",
"@types/empty-dir": "^2.0.1",
"@types/fs-extra": "^11.0.2",
"@types/jest": "^29.5.5",
"@types/semver": "^7.5.2",
"babel-plugin-module-extension": "^0.1.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"must": "^0.13.4",
"nodemon": "^3.0.1",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.23.28",
"typescript": "^5.4.5"
},
"husky": {
"hooks": {
"pre-push": "pnpm run prepublishOnly && pnpm run compile"
}
}
}