Skip to content
Source
Sign inSign up
TanStack/alt-cli
Open History to see the last commit

package.json

61 lines2.3 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "git+https://github.com/TanStack/cli.git"
7 },
8 "packageManager": "pnpm@10.26.1",
9 "type": "module",
10 "scripts": {
11 "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/**",
12 "build:all": "nx run-many --targets=build --exclude=examples/**",
13 "build:cli": "nx run-many --targets=build --projects=packages/cli",
14 "changeset": "changeset",
15 "changeset:publish": "changeset publish",
16 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
17 "clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
18 "clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
19 "clean:all": "pnpm run clean && pnpm run clean:node_modules",
20 "dev": "pnpm run watch",
21 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
22 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
23 "lint:fix:all": "nx run-many --targets=lint --fix",
24 "test": "pnpm run test:ci",
25 "test:ci": "nx run-many --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,build",
26 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
27 "test:knip": "knip",
28 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
29 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
30 "test:pr": "nx affected --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,build",
31 "test:sherif": "sherif",
32 "test:types": "nx affected --targets=test:types --exclude=examples/**",
33 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
34 },
35 "nx": {
36 "includedScripts": [
37 "test:knip",
38 "test:sherif"
39 ]
40 },
41 "devDependencies": {
42 "@changesets/cli": "^2.29.8",
43 "@svitejs/changesets-changelog-github-compact": "^1.2.0",
44 "@tanstack/eslint-config": "0.3.4",
45 "@types/node": "^25.0.7",
46 "eslint": "^9.39.2",
47 "eslint-plugin-unused-imports": "^4.3.0",
48 "knip": "^5.80.2",
49 "nx": "^22.3.3",
50 "premove": "^4.0.0",
51 "prettier": "^3.7.4",
52 "sherif": "^1.9.0",
53 "tinyglobby": "^0.2.15",
54 "tsdown": "^0.19.0",
55 "typescript": "5.9.3",
56 "vitest": "^4.0.17"
57 },
58 "overrides": {
59 "@tanstack/cli": "workspace:*"
60 }