-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
47 lines (47 loc) · 1.35 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
{
"private": true,
"name": "assemble-package",
"version": "1.0.0",
"description": "NPM package boilerplate",
"main": "index.js",
"author": "Public Assembly",
"license": "MIT",
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "turbo run build",
"build:package": "preconstruct build",
"clean": "turbo run clean && rimraf dist",
"dev": "preconstruct dev && turbo run dev",
"lint": "turbo run lint",
"postinstall": "preconstruct dev",
"prepare": "husky install",
"format": "rome format . --write",
"version-packages": "changeset version",
"release": "preconstruct build && changeset version && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@preconstruct/cli": "^2.5.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"rome": "^12.0.0",
"tsc-files": "^1.1.3",
"turbo": "^1.9.3",
"typescript": "^5.0.4"
},
"preconstruct": {
"packages": ["packages/*"]
},
"lint-staged": {
"apps/**/*.{js,ts,jsx,tsx}": ["rome check .", "rome format . --write"],
"packages/**/*.{js,ts,jsx,tsx}": ["rome check .", "rome format . --write"],
"*.json": ["rome format . --write"],
"**/*.{ts,tsx}": ["tsc-files --noEmit"]
},
"engines": {
"node": "^14.13.1 || >=16.0.0",
"pnpm": ">=7"
}
}