-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
70 lines (70 loc) · 2.83 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
{
"name": "root",
"private": true,
"scripts": {
"clean": "lerna exec --stream -- git clean -f -d -X && git clean -f -d -X",
"clean:locks": "lerna exec --stream -- rimraf package-lock.json pnpm-lock.yaml && rimraf package-lock.json pnpm-lock.yaml && npm run clean",
"format": "lerna exec --stream -- prettier --check src/**/* -w",
"ncu:major": "ncu && lerna exec --ignore @template/* --stream -- ncu",
"ncu:minor": "ncu -t minor -u && lerna exec --ignore @template/* --stream -- ncu -t minor -u -x @leanup/*,typescript",
"ncu:patch": "ncu -t patch -u && lerna exec --ignore @template/* --stream -- ncu -t patch -u",
"ncu": "npm run ncu:patch && npm run ncu:minor && npm run ncu:major",
"pack": "npx lerna exec --ignore @template/* --stream -- npm pack",
"postinstall": "lerna exec --stream -- npm i",
"prepare": "rimraf .husky && husky install && husky add .husky/commit-msg \"npx commitlint --edit $1\" && husky add .husky/pre-commit \"npx lerna run lint\" && husky add .husky/pre-commit \"npx lerna run format\"",
"ts-prune": "lerna exec --stream -- ts-prune src",
"depcheck": "lerna exec --stream -- depcheck --ignore-bin-package --skip-missing",
"update": "npm run ncu",
"reinstall": "npm run clean:locks && npm i",
"ci": "npm ci && lerna exec --concurrency 2 --ignore=@template/* --stream -- npm ci",
"format:tpl": "prettier --write packages/cli/frameworks/*/template/src/**/* --ignore-unknown",
"outdated": "(npm outdated || true) && lerna exec --stream -- npm outdated",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
"pack:all": "lerna exec --concurrency 2 --ignore=@template/* --ignore=@leanup/cli-* --stream -- npm pack",
"commit-msg": "commitlint",
"pre-commit": "lint-staged"
},
"lint-staged": {
"{packages}/**": [
"npm run format:tpl"
]
},
"repository": {
"type": "git",
"url": "https://github.com/leanupjs/leanup.git"
},
"auto-changelog": {
"template": "keepachangelog",
"unreleased": true,
"commitLimit": false
},
"devDependencies": {
"@algolia/client-search": "4.17.0",
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@commitlint/format": "17.4.4",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"auto-changelog": "2.4.0",
"eslint": "8.39.0",
"eslint-plugin-html": "7.1.0",
"eslint-plugin-json": "3.1.0",
"husky": "8.0.3",
"lerna": "5.6.2",
"lint-staged": "13.2.2",
"npm-check-updates": "16.10.9",
"prettier": "2.8.8",
"prettier-plugin-svelte": "2.10.0",
"rimraf": "3.0.2",
"svelte": "3.58.0",
"ts-prune": "0.10.3",
"typescript": "4.9.5",
"vitepress": "0.22.4"
},
"engines": {
"node": ">=16",
"npm": ">=8"
}
}