forked from vonschau/next-routes-with-locale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.15 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": "@join-com/next-routes-with-locale",
"version": "2.11.4",
"description": "Easy to use locale-based dynamic routes for Next.js",
"repository": "https://github.com/join-com/next-routes-with-locale",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"jsnext:main": "./esm/index.js",
"module": "./esm/index.js",
"modules.root": "./esm",
"files": [
"lib",
"esm"
],
"sideEffects": false,
"scripts": {
"prepare": "yarn build",
"prepublishOnly": "yarn test && yarn lint",
"preversion": "npm run lint",
"version": "yarn prettier && git add -A src",
"postversion": "git push && git push --tags",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'src/**/*.tsx'",
"lint:fix": "yarn lint --fix",
"build:cjs": "del lib/* && tsc -p tsconfig.build.cjs.json",
"build:esm": "del esm/* && tsc -p tsconfig.build.esm.json",
"build": "yarn build:cjs && yarn build:esm",
"test": "jest --forceExit --no-cache --detectOpenHandles",
"test:watch": "yarn test --watch",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"ts:check": "tsc --noEmit"
},
"husky": {
"hooks": {
"pre-commit": "yarn ts:check && lint-staged && yarn test"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"tslint -c tslint.json --fix",
"prettier --write",
"git add"
]
},
"dependencies": {
"memoize-one": "^5.2.1",
"path-to-regexp": "^2.4.0",
"qs": "^6.7.0"
},
"devDependencies": {
"@shopify/jest-dom-mocks": "^5.0.0",
"@types/jest": "^24.0.15",
"@types/node": "^12.6.8",
"@types/qs": "^6.5.3",
"@types/react": "^16.8.23",
"@types/react-test-renderer": "^16.8.2",
"del-cli": "^2.0.0",
"husky": "^3.0.1",
"jest": "^24.8.0",
"jest-express": "^1.12.0",
"lint-staged": "^9.2.0",
"next": "^9.0.3",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.9.6"
},
"author": "JOIN",
"license": "MIT"
}