-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
79 lines (79 loc) · 2.38 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": "next-localization",
"version": "0.12.0",
"main": "dist/index.js",
"source": "src/index.js",
"module": "dist/index.modern.js",
"unpkg": "dist/index.umd.js",
"repository": "git@github.com:StarpTech/next-localization.git",
"types": "types/index.d.ts",
"author": {
"name": "Dustin Deus",
"email": "deusdustin@gmail.com",
"url": "https://starptech.de"
},
"license": "MIT",
"files": [
"types/*.d.ts",
"dist"
],
"scripts": {
"build": "microbundle --no-sourcemap --no-compress --jsx React.createElement",
"tsd": "tsd",
"dev": "microbundle watch",
"test": "yarn lint && jest --collectCoverage",
"lint": "eslint --fix ./src/**/* && yarn tsd",
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\" --config ./.prettierrc",
"release": "yarn build && yarn lint && release-it"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn test"
}
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
},
"dependencies": {
"rosetta": "1.1.0"
},
"peerDependencies": {
"react": ">=17.0.1"
},
"devDependencies": {
"eslint": "^7.16.0",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@testing-library/jest-dom": "^5.11.8",
"@testing-library/react": "^13.0.1",
"@types/react": "^18.0.4",
"babel-jest": "^26.6.3",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^4.3.6",
"jest": "^26.6.3",
"jest-environment-jsdom-sixteen": "^1.0.3",
"microbundle": "^0.12.4",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.0.0",
"release-it": "^14.2.2",
"tsd": "^0.14.0"
}
}