-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
79 lines (79 loc) · 2.18 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
{
"name": "nextjs-redirect",
"description": "Redirect to any URL in NextJS both in client and server",
"version": "6.0.1",
"author": "Pablo Varela <[email protected]>",
"bugs": {
"url": "https://github.com/pablopunk/nextjs-redirect/issues",
"email": "[email protected]"
},
"contributors": [
"Pablo Varela <[email protected]>"
],
"peerDependencies": {
"next": "*",
"react": "*"
},
"devDependencies": {
"@types/cypress": "^1.1.3",
"@types/node": "^14.0.13",
"@types/react": "^16.9.36",
"cypress": "^9.3.1",
"dts-bundle-generator": "^4.3.0",
"husky": "*",
"next": "*",
"nodemon": "^2.0.16",
"prettier": "*",
"pretty-quick": "*",
"react": "*",
"start-server-and-test": "^1.14.0",
"sucrase": "^3.20.3"
},
"homepage": "https://github.com/pablopunk/nextjs-redirect",
"keywords": [
"nextjs",
"redirect",
"zeit",
"vercel",
"react",
"component",
"automatic",
"simple",
"url",
"302"
],
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npm run build && pretty-quick --staged"
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"tabWidth": 2
},
"repository": {
"type": "git",
"url": "https://github.com/pablopunk/nextjs-redirect"
},
"scripts": {
"build": "sucrase src -d dist --transforms imports,typescript,jsx && npm run generate-types",
"dev": "nodemon --watch src/* --exec 'npm run build'",
"generate-types": "dts-bundle-generator -o typings.d.ts src/index.tsx",
"prepare": "npm run build",
"cypress": "cypress open",
"cypress:ci": "cypress run",
"start-test-server": "npm run build && cd cypress/test-server && npm i && npm start",
"start-test-server-dev": "cd cypress/test-server && npm run dev",
"test:dev": "start-server-and-test start-test-server-dev http://localhost:8123 cypress",
"test:ci": "start-server-and-test start-test-server http://localhost:8123 cypress:ci",
"test:static-export": "cd cypress/test-server && npm i && npm run build && npx next export"
},
"main": "./dist/index.js",
"types": "./typings.d.ts",
"files": [
"dist/index.js",
"typings.d.ts"
]
}