generated from garronej/ts-ci
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
executable file
·82 lines (82 loc) · 2.46 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
{
"name": "tsafe",
"version": "1.8.5",
"description": "A collection of utilities to step up your TypeScript game",
"repository": {
"type": "git",
"url": "git://github.com/garronej/tsafe.git"
},
"scripts": {
"build": "yarn build:cjs && yarn build:esm && yarn build:deno",
"build:cjs": "tsc",
"build:esm": "rm -rf dist/esm && npx rollup -c",
"build:deno": "denoify",
"test": "yarn test:node && yarn test:deno",
"test:deno": "deno run --reload --unstable --no-check deno_dist/mod.ts",
"test:node": "ts-node test/index.ts",
"_format": "prettier '**/*.{ts,tsx,json,md,js}'",
"format": "npm run _format -- --write",
"format:check": "npm run _format -- --list-different"
},
"lint-staged": {
"*.{ts,tsx,json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
"author": "u/garronej",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/esm/index.mjs",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts"
},
"./*": {
"require": "./dist/*.js",
"import": "./dist/esm/*.mjs",
"types": "./dist/*.d.ts"
},
"./lab": {
"require": "./dist/lab/index.js",
"import": "./dist/esm/lab/index.mjs",
"types": "./dist/lab/index.d.ts"
},
"./tools": {
"require": "./dist/tools/index.js",
"import": "./dist/esm/tools/index.mjs",
"types": "./dist/tools/index.d.ts"
}
},
"files": [
"src/",
"dist/",
"!dist/tsconfig.tsbuildinfo"
],
"keywords": [],
"homepage": "https://github.com/garronej/tsafe",
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/node": "^22.9.0",
"denoify": "^1.6.16",
"evt": "^2.4.18",
"glob": "^11.0.0",
"husky": "^4.3.0",
"improved-garbanzo-easy": "^0.0.1",
"lint-staged": "^10.5.4",
"prettier": "^3.3.1",
"rollup": "^4.23.0",
"rollup-plugin-typescript2": "^0.36.0",
"ts-node": "^10.9.1",
"tslib": "^2.7.0",
"typescript": "^5.6.3"
}
}