-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
75 lines (75 loc) · 2.17 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
71
72
73
74
75
{
"name": "next-use-contextual-routing",
"description": "Generate Next.js contextual routing paths",
"version": "4.0.0",
"keywords": [
"next",
"next.js",
"contextual",
"routing",
"snowlift",
"route as modal",
"modal route",
"hook"
],
"repository": {
"type": "git",
"url": "git+https://github.com/toomuchdesign/next-use-contextual-routing.git"
},
"author": "Andrea Carraro <[email protected]>",
"license": "ISC",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsc -p tsconfig.build.json",
"preversion": "npm run prepare",
"version": "git add package.json",
"postversion": "git push && git push --tags",
"prepare": "npx simple-git-hooks && npm run source:check && npm run test -- --run && npm run build",
"test": "vitest --config ./vitest.config.mts",
"test:a": "vitest --config ./vitest.config.mts",
"tag": "node ./scripts/tag.js",
"prettier:check": "prettier . --check",
"prettier:fix": "npm run prettier:check -- --write",
"type:check": "tsc --noEmit",
"source:check": "npm run prettier:check && npm run type:check",
"source:fix": "npm run prettier:fix",
"start": "npm run demo:start",
"demo:start": "cd ./demo && next",
"demo:build": "npm run build && cd ./demo && BUILD_TARGET=github-pages next build && touch ./out/.nojekyll"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@testing-library/react": "^16.0.0",
"@tsconfig/node20": "^20.1.4",
"@types/react": "^18.0.25",
"@vitest/coverage-v8": "^2.1.3",
"jsdom": "^25.0.1",
"next": "^15.0.0",
"prettier": "^3.3.2",
"qs-stringify": "^1.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-modal": "^3.16.1",
"react-test-renderer": "^18.2.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.5.3",
"vitest": "^2.1.3"
},
"peerDependencies": {
"next": "^15.0.0",
"react": ">=18.0.0"
},
"simple-git-hooks": {
"pre-commit": "npm run prepare"
}
}