Skip to content
Source
Sign inSign up
TanStack/time
Open History to see the last commit

package.json

75 lines3.1 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "git+https://github.com/TanStack/time.git"
7 },
8 "type": "module",
9 "scripts": {
10 "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/**",
11 "build:all": "nx run-many --targets=build --exclude=examples/**",
12 "build:core": "nx run-many --targets=build --projects=packages/time",
13 "changeset": "changeset",
14 "changeset:publish": "changeset publish",
15 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
16 "clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
17 "clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
18 "clean:all": "pnpm run clean && pnpm run clean:node_modules",
19 "copy:readme": "cp README.md packages/time/README.md && cp README.md packages/time-devtools/README.md && cp README.md packages/react-time/README.md && cp README.md packages/react-time-devtools/README.md && cp README.md packages/solid-time/README.md && cp README.md packages/solid-time-devtools/README.md",
20 "dev": "pnpm run watch",
21 "format": "oxfmt .",
22 "generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
23 "graphify": "node scripts/graphify.ts",
24 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
25 "lint:fix:all": "nx run-many --targets=lint --fix",
26 "test": "pnpm run test:ci",
27 "test:ci": "nx run-many --targets=test:lint,test:sherif,test:knip,test:docs,test:skills,test:lib,test:types,build",
28 "test:docs": "node scripts/verify-links.ts",
29 "test:lint": "nx affected --target=test:lint --exclude=examples/**",
30 "test:knip": "knip",
31 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
32 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
33 "test:pr": "nx affected --targets=test:lint,test:sherif,test:knip,test:docs,test:skills,test:lib,test:types,build",
34 "test:skills": "intent validate && node scripts/check-skill-sources.ts",
35 "test:sherif": "sherif",
36 "test:types": "nx affected --targets=test:types --exclude=examples/**",
37 "skills:sync": "node scripts/check-skill-sources.ts --write",
38 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
39 },
40 "devDependencies": {
41 "@changesets/changelog-github": "^0.7.0",
42 "@changesets/cli": "^2.29.8",
43 "@faker-js/faker": "^10.2.0",
44 "@tanstack/intent": "0.4.0",
45 "@tanstack/typedoc-config": "0.3.3",
46 "@testing-library/jest-dom": "^6.9.1",
47 "@types/node": "^25.0.7",
48 "happy-dom": "^20.11.6",
49 "knip": "^5.86.0",
50 "markdown-link-extractor": "^4.0.3",
51 "nx": "^22.7.8",
52 "oxfmt": "^0.64.0",
53 "oxlint": "^0.16.0",
54 "premove": "^4.0.0",
55 "publint": "^0.3.16",
56 "sherif": "^1.9.0",
57 "tinyglobby": "^0.2.15",
58 "tsdown": "^0.22.14",
59 "typescript": "5.9.3",
60 "vite-tsconfig-paths": "^6.1.1",
61 "vitest": "^4.1.11"
62 },
63 "engines": {
64 "pnpm": ">=11.0.0"
65 },
66 "packageManager": "pnpm@11.1.0",
67 "nx": {
68 "includedScripts": [
69 "test:docs",
70 "test:skills",
71 "test:knip",
72 "test:sherif"
73 ]
74 }