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

package.json

77 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 "packageManager": "pnpm@11.9.0",
9 "engines": {
10 "pnpm": ">=11.9.0"
11 },
12 "type": "module",
13 "scripts": {
14 "build": "nx affected --skip-nx-cache --targets=build --exclude=examples/**",
15 "build:all": "nx run-many --targets=build --exclude=examples/**",
16 "build:core": "nx run-many --targets=build --projects=packages/time",
17 "changeset": "changeset",
18 "changeset:publish": "changeset publish",
19 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
20 "clean": "find . -name 'dist' -type d -prune -exec rm -rf {} +",
21 "clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
22 "clean:all": "pnpm run clean && pnpm run clean:node_modules",
23 "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",
24 "dev": "pnpm run watch",
25 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
26 "generate-docs": "node scripts/generate-docs.ts && pnpm run copy:readme",
27 "graphify": "node scripts/graphify.ts",
28 "lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
29 "lint:fix:all": "nx run-many --targets=lint --fix",
30 "test": "pnpm run test:ci",
31 "test:ci": "nx run-many --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:types,build",
32 "test:docs": "node scripts/verify-links.ts",
33 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
34 "test:knip": "knip",
35 "test:lib": "nx affected --targets=test:lib --exclude=examples/**",
36 "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib",
37 "test:pr": "nx affected --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:types,build",
38 "test:sherif": "sherif",
39 "test:types": "nx affected --targets=test:types --exclude=examples/**",
40 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all"
41 },
42 "nx": {
43 "includedScripts": [
44 "test:docs",
45 "test:knip",
46 "test:sherif"
47 ]
48 },
49 "devDependencies": {
50 "@changesets/changelog-github": "^0.7.0",
51 "@changesets/cli": "^2.29.8",
52 "@faker-js/faker": "^10.2.0",
53 "@tanstack/eslint-config": "0.3.4",
54 "@tanstack/typedoc-config": "0.3.3",
55 "@testing-library/jest-dom": "^6.9.1",
56 "@types/node": "^25.0.7",
57 "eslint": "^9.39.2",
58 "eslint-plugin-unused-imports": "^4.3.0",
59 "happy-dom": "^20.1.0",
60 "knip": "^5.80.2",
61 "markdown-link-extractor": "^4.0.3",
62 "nx": "^22.3.3",
63 "premove": "^4.0.0",
64 "prettier": "^3.7.4",
65 "prettier-plugin-svelte": "^3.4.1",
66 "publint": "^0.3.16",
67 "sherif": "^1.9.0",
68 "tinyglobby": "^0.2.15",
69 "tsdown": "^0.19.0",
70 "typescript": "5.9.3",
71 "vite-tsconfig-paths": "^6.1.1",
72 "vitest": "^4.0.17"
73 },
74 "dependencies": {
75 "@js-temporal/polyfill": "^0.5.1"
76 }