-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
190 lines (190 loc) · 6.74 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "mimir",
"version": "1.0.0",
"description": "New cms for ssb.no",
"main": "index.js",
"scripts": {
"dev": "run-p watch:asset watch:server watch:style watch:browserSync watch:react4xp",
"build": "run-p -c build:* --mode:production",
"build:asset": "npx tsup -d build/resources/main/assets",
"build:server": "npx tsup -d build/resources/main",
"build:react4xp": "cross-env WATCH=false R4X_APP_NAME=mimir R4X_DIR_PATH_ABSOLUTE_PROJECT=$INIT_CWD npm run compile:react4xp",
"watch:asset": "cross-env NODE_ENV=development npm run build:asset -- --watch",
"watch:style": "cross-env NODE_ENV=development npx sass \"src/main/resources/assets/styles/main.scss\":\"build/resources/main/assets/styles/bundle.css\" \"src/main/resources/assets/styles/main_menu.scss\":\"build/resources/main/assets/styles/bundle_menu.css\" --load-path=node_modules --load-path=node_modules/bootstrap/scss --watch --style=expanded",
"watch:server": "cross-env NODE_ENV=development npm run build:server -- --watch",
"watch:react4xp": "cross-env WATCH=true NODE_ENV=development R4X_APP_NAME=mimir R4X_DIR_PATH_ABSOLUTE_PROJECT=$INIT_CWD npm run components:react4xp",
"watch:browserSync": "npx browser-sync start --files \"src/main/resources/**/*.html\" \"src/main/resources/**/*.xml\" \"src/main/resources/**/*.tsx\" \"src/main/resources/**/*.scss\" \"build/resources/main\" --reload-delay 0 --no-snippet --watch",
"components:react4xp": "npm explore @enonic/react4xp -- npm run webpack:components",
"compile:react4xp": "npm explore @enonic/react4xp -- npm run build:react4xp",
"start": "enonic project deploy --dev",
"install:dev": "nsi",
"install:prod": "npm install",
"lint": "eslint --fix './src/**/*.{es6,ts,tsx}'",
"lint-dry": "eslint './src/**/*.{es6,ts,tsx}'",
"test": "jest",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/statisticsnorway/mimir.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/statisticsnorway/mimir/issues"
},
"homepage": "https://github.com/statisticsnorway/mimir#readme",
"devDependencies": {
"@babel/cli": "~7.25.9",
"@babel/core": "~7.26.0",
"@babel/preset-env": "~7.26.0",
"@babel/preset-react": "~7.25.9",
"@babel/preset-stage-0": "~7.8.3",
"@babel/preset-typescript": "^7.26.0",
"@babel/register": "~7.25.9",
"@babel/runtime": "~7.26.0",
"@enonic-types/global": "7.14.1",
"@enonic-types/lib-admin": "7.14.1",
"@enonic-types/lib-auth": "7.14.1",
"@enonic-types/lib-cluster": "7.14.0",
"@enonic-types/lib-common": "7.14.1",
"@enonic-types/lib-content": "7.14.0",
"@enonic-types/lib-context": "7.14.1",
"@enonic-types/lib-event": "7.14.0",
"@enonic-types/lib-i18n": "7.14.0",
"@enonic-types/lib-io": "7.14.1",
"@enonic-types/lib-mail": "7.14.0",
"@enonic-types/lib-node": "7.14.1",
"@enonic-types/lib-portal": "7.14.1",
"@enonic-types/lib-react4xp": "4.0.0",
"@enonic-types/lib-repo": "7.14.0",
"@enonic-types/lib-scheduler": "7.14.1",
"@enonic-types/lib-task": "7.14.1",
"@enonic-types/lib-value": "7.14.0",
"@enonic-types/lib-websocket": "7.14.1",
"@enonic/react-components": "5.0.1",
"@enonic/react4xp": "5.0.4",
"@enonic/tsup-plugin-manifest": "^0.0.1",
"@eslint/compat": "^1.2.3",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@item-enonic-types/global": "~7.13.1",
"@item-enonic-types/lib-cache": "~2.2.0",
"@item-enonic-types/lib-cristin": "~1.3.1",
"@item-enonic-types/lib-cron": "~1.1.1",
"@item-enonic-types/lib-http-client": "~3.2.1",
"@item-enonic-types/lib-menu": "~4.2.1",
"@item-enonic-types/lib-thymeleaf": "~2.1.0",
"@item-enonic-types/lib-time": "~1.0.4",
"@reduxjs/toolkit": "~2.3.0",
"@statisticsnorway/ssb-component-library": "~2.4.3",
"@types/grecaptcha": "^3.0.9",
"@types/ramda": "~0.30.2",
"@types/react": "~18.3.12",
"@types/react-mathjax": "^1.0.4",
"@types/react-router-dom": "^5.3.3",
"@types/uuid": "~9.0.8",
"@types/validator": "~13.12.2",
"@types/zipcelx": "~1.5.2",
"autoprefixer": "~10.4.16",
"axios": "^1.7.7",
"babel-loader": "~9.2.1",
"babel-preset-env": "~1.7.0",
"browser-sync": "^3.0.3",
"cross-env": "~7.0.3",
"cssnano": "~7.0.6",
"esbuild-plugin-replace": "^1.4.0",
"esbuild-sass-plugin": "^2.16.1",
"eslint": "~9.15.0",
"eslint-config-google": "~0.14.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-jsdoc": "^50.5.0",
"eslint-plugin-prettier": "~5.2.1",
"eslint-plugin-react": "~7.37.2",
"feather-icons": "~4.29.2",
"file-loader": "~6.2.0",
"glob": "~11.0.0",
"highcharts": "~10.3.3",
"husky": "^9.1.7",
"imagesloaded": "~5.0.0",
"jest": "~29.7.0",
"jquery": "~3.7.1",
"jquery-bridget": "~3.0.1",
"jquery-ui-dist": "~1.13.3",
"js-base64": "~3.7.7",
"jsonstat-toolkit": "~1.4.2",
"lodash": "~4.17.21",
"mini-css-extract-plugin": "~2.9.2",
"npm-run-all": "~4.1.5",
"npm-safe-install": "~1.1.0",
"numeral": "~2.0.6",
"postcss": "~8.4.49",
"postcss-loader": "~8.1.1",
"postcss-normalize": "~10.0.1",
"prettier": "~3.3.3",
"prop-types": "~15.8.1",
"q-i": "~2.0.1",
"ramda": "~0.30.1",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-feather": "~2.0.10",
"react-helmet-async": "~2.0.5",
"react-mathjax": "~1.0.1",
"react-number-format": "~5.3.1",
"react-redux": "~7.2.9",
"react-responsive": "~10.0.0",
"react-router-dom": "~5.3.4",
"react-table": "~7.8.0",
"redux-injectors": "~1.3.0",
"redux-saga": "~1.3.0",
"regenerator-runtime": "~0.14.1",
"sass": "~1.81.0",
"swc-loader": "~0.2.6",
"ts-loader": "~9.5.1",
"tsup": "^8.3.5",
"typescript": "~5.2.2",
"typescript-eslint": "^8.14.0",
"validator": "~13.12.0",
"webpack": "~5.96.1",
"webpack-bundle-analyzer": "~4.10.2",
"webpack-cli": "~5.1.4",
"xlsx": "~0.18.5"
},
"browserslist": [
"last 2 version",
"> 2%"
],
"babel": {
"presets": [
"@babel/env",
"@babel/react",
"@babel/preset-typescript"
]
},
"dependencies": {
"bootstrap": "~5.3.3",
"core-js": "~3.39.0",
"date-fns": "~3.6.0",
"highcharts-react-official": "~3.2.1",
"react-bootstrap": "~2.10.5",
"react-select": "~5.8.3",
"redux": "~5.0.1",
"redux-logger": "~3.0.6",
"schema-dts": "^1.1.2",
"striptags": "~3.2.0",
"uuid": "~9.0.1",
"xss": "^1.0.15",
"zipcelx": "~1.6.2"
},
"overrides": {
"react-mathjax": {
"react": "$react"
},
"redux-injectors": {
"react": "$react",
"react-dom": "$react-dom"
},
"glob": "$glob"
}
}