-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.45 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
{
"name": "tsatsiki",
"type": "module",
"version": "2.0.1",
"description": "Run tsc with both a configuration and specific files.",
"author": "Marc Bouchenoire",
"license": "MIT",
"repository": "https://github.com/marcbouchenoire/tsatsiki",
"keywords": [
"typescript",
"cli",
"files",
"staged"
],
"files": [
"src",
"dist"
],
"source": "./src/index.ts",
"bin": "./dist/tsatsiki.js",
"prettier": "@marcbouchenoire/prettier-config",
"nano-staged": {
"**/*.mjs": [
"eslint --fix",
"pnpm prettier"
],
"**/*.{ts,tsx}": [
"eslint --fix",
"pnpm tsatsiki --project tsconfig.json",
"pnpm prettier"
],
"**/*.{json,md,yml}": [
"pnpm prettier"
]
},
"husky": {
"hooks": {
"pre-commit": "nano-staged"
}
},
"scripts": {
"build": "rollup --config && chmod a+x dist/tsatsiki.js",
"tsatsiki": "node --loader tsm src/index.ts",
"prettier": "prettier --write --loglevel silent --ignore-path .eslintignore",
"lint": "pnpm lint:eslint && pnpm lint:tsc && pnpm lint:prettier",
"lint:eslint": "eslint '**/*.{mjs,ts,tsx}' --fix",
"lint:prettier": "pnpm prettier '**/*.{mjs,ts,tsx,json,md,yml}'",
"lint:tsc": "tsc --project tsconfig.json",
"prepublishOnly": "pnpm build",
"test": "uvu --require tsm tests",
"test:coverage": "nyc --temp-dir=.nyc.log --include=src pnpm test && nyc report --temp-dir=.nyc.log --reporter=lcov",
"change": "pnpm changeset",
"version": "pnpm changeset version && pnpm install --no-frozen-lockfile",
"release": "pnpm build && pnpm changeset publish"
},
"dependencies": {
"execa": "^6.1.0",
"exit-hook": "^3.1.4",
"find-up": "^6.3.0",
"write-json-file": "^5.0.0",
"yargs-parser": "^21.1.1"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@marcbouchenoire/eslint-config": "^2.8.1",
"@marcbouchenoire/prettier-config": "^1.1.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/node": "^18.11.18",
"@types/yargs-parser": "^21.0.0",
"chokidar": "^3.5.3",
"esbuild": "^0.16.16",
"eslint": "^8.31.0",
"husky": "4.3.8",
"load-json-file": "^7.0.1",
"nano-staged": "^0.8.0",
"nyc": "^15.1.0",
"prettier": "^2.8.2",
"rollup": "^3.9.1",
"rollup-plugin-esbuild": "^5.0.0",
"tempy": "^3.0.0",
"tsm": "^2.3.0",
"typescript": "^4.9.4",
"uvu": "^0.5.6"
},
"peerDependencies": {
"typescript": ">=1.8.0"
}
}