-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpackage.json
80 lines (80 loc) · 2.85 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
76
77
78
79
80
{
"name": "next-router-mock",
"version": "0.9.13",
"description": "Mock implementation of the Next.js Router",
"main": "dist/index",
"files": [
"dist",
"async",
"dynamic-routes",
"MemoryRouterProvider",
"src"
],
"scripts": {
"checks": "npm run docs && npm run lint && npm run test && npm run build && npm run typecheck && npm run test:integration",
"lint": "prettier --list-different src",
"lint:fix": "prettier --write src",
"docs": "doctoc README.md",
"test": "jest",
"test:watch": "jest --watch",
"test:integration:ci": "npm run test:integration:install && npm run test:integration",
"test:integration:install": "(cd test/example-app && npm i); (cd test/next-10 && npm i); (cd test/next-11 && npm i); (cd test/next-12 && npm i); (cd test/next-12.2+ && npm i); (cd test/next-12.latest && npm i); (cd test/next-13 && npm i); (cd test/next-13.5 && npm i)",
"test:integration": "npm run build && npm run test:exports && npm run test:example-app && npm run test:next-10 && npm run test:next-11 && npm run test:next-12 && npm run test:next-12.2 && npm run test:next-12.latest && npm run test:next-13 && npm run test:next-13.5",
"test:example-app": "cd test/example-app && npm test",
"test:exports": "cd test/test-exports && npm test",
"test:next-10": "cd test/next-10 && npm test",
"test:next-11": "cd test/next-11 && npm test",
"test:next-12": "cd test/next-12 && npm test",
"test:next-12.2": "cd test/next-12.2+ && npm test",
"test:next-12.latest": "cd test/next-12.latest && npm test",
"test:next-13": "cd test/next-13 && npm test",
"test:next-13.5": "cd test/next-13.5 && npm test",
"typecheck": "tsc --noEmit",
"build": "npm run clean && tsc --project tsconfig.build.json",
"clean": "rimraf dist",
"build:watch": "npm run build -- --watch",
"prepublishOnly": "npm run build",
"preversion": "npm run checks",
"prerelease": "npm run build",
"release": "changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/scottrippey/next-router-mock.git"
},
"keywords": [
"react",
"next",
"next.js",
"nextjs",
"router",
"mock",
"test",
"testing"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/scottrippey/next-router-mock/issues"
},
"homepage": "https://github.com/scottrippey/next-router-mock#readme",
"peerDependencies": {
"next": ">=10.0.0",
"react": ">=17.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@testing-library/react": "^13.4.0",
"@types/jest": "^26.0.20",
"doctoc": "^2.2.0",
"jest": "^26.6.3",
"next": "^13.5.1",
"prettier": "^2.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.4",
"typescript": "^4.9.5"
}
}