-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
122 lines (122 loc) · 2.98 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "shire-reckoning",
"version": "5.0.5",
"homepage": "https://psarando.github.io/shire-reckoning",
"source": "src/lib.js",
"main": "lib/TolkienCalendars.js",
"types": "lib/lib.d.ts",
"keywords": [
"calendar",
"date",
"Tolkien",
"Shire",
"Rivendell",
"Imladris",
"Gondor",
"Numenor",
"lord-of-the-rings",
"middle-earth"
],
"license": "EPL-1.0",
"files": [
"lib",
"src/lib.js",
"src/ui",
"src/ShireReckoning.ts",
"src/RivendellReckoning.ts",
"src/GondorReckoning.ts",
"src/Utils.ts",
"README.md",
"Middle-earth-simulation.md",
"Rivendell_Drift.md",
"Kings_Reckoning_Rules_and_Deficit.md",
"CHANGELOG.md"
],
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@btmills/prettier": "^2.8.8",
"@storybook/addon-storysource": "^7.5.2",
"@storybook/addons": "^7.5.2",
"@storybook/react": "^7.5.2",
"@storybook/react-webpack5": "^7.5.2",
"@storybook/theming": "^7.5.2",
"@tsconfig/recommended": "^1.0.3",
"@types/react": "^18.2.34",
"@types/react-dom": "^18.2.14",
"autoprefixer": "^10.4.16",
"chromatic": "^7.6.0",
"css-minimizer-webpack-plugin": "^5.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.7.6",
"postcss-loader": "^7.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^7.5.2",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"peerDependencies": {
"react": "^16.8.6 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0"
},
"scripts": {
"start": "npm run storybook",
"storybook": "storybook dev -p 9009",
"build-storybook": "storybook build --output-dir build/examples",
"build-app": "webpack --mode=production --node-env=production --config webpack.app.config.js",
"build": "webpack --mode=production --node-env=production",
"test": "jest --watch",
"prettier": "prettier --write '{src/**/,.storybook/,}*.{js,ts}'"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript"
]
},
"postcss": {
"plugins": [
"autoprefixer"
]
},
"eslintConfig": {
"extends": "react-app"
},
"jest": {
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/src/__mocks__/styleMock.js"
},
"transform": {
"\\.tsx?$": "ts-jest",
"\\.jsx?$": "babel-jest"
}
},
"prettier": {
"tabWidth": 4,
"trailingComma": "es5"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}