forked from aralroca/next-translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.12 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
81
82
{
"name": "next-translate",
"version": "0.13.0",
"description": "Next.js utility to translate pages without the need of a server (static i18n pages generator).",
"license": "MIT",
"keywords": [
"react",
"i18n",
"nextjs",
"next.js",
"next",
"translation",
"localization",
"locale",
"static"
],
"repository": {
"type": "git",
"url": "https://github.com/vinissimus/next-translate.git"
},
"author": {
"name": "Aral Roca Gòmez",
"email": "[email protected]"
},
"scripts": {
"build": "yarn clean && NODE_ENV=production babel src -d .",
"clean": "rm -f *.js && yarn clean:examples",
"clean:examples": "rm -rf examples/**/.next && rm -rf examples/**/node_modules && rm -rf examples/**/yarn.lock",
"example:static-site": "yarn build && cd examples/static-site && yarn && yarn dev",
"example:with-server": "yarn build && cd examples/with-server && yarn && yarn dev",
"format": "pretty-quick",
"prepublish": "yarn test && yarn build",
"test": "NODE_ENV=test jest",
"test:coverage": "NODE_ENV=test jest --coverage",
"test:watch": "NODE_ENV=test jest --watch"
},
"bin": {
"next-translate": "./cli/builder.js"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.9.0",
"@babel/preset-env": "7.9.0",
"@testing-library/react": "10.0.1",
"babel-jest": "25.1.0",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
"babel-preset-minify": "0.5.1",
"express": "4.17.1",
"husky": "4.2.3",
"jest": "25.1.0",
"next": "9.3.1",
"prettier": "2.0.2",
"pretty-quick": "2.0.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"supertest": "4.0.2"
},
"peerDependencies": {
"next": ">= 9.3.0",
"react": ">= 16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn test"
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"jest": {
"roots": [
"<rootDir>/__tests__",
"<rootDir>/src"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
}
}