-
Notifications
You must be signed in to change notification settings - Fork 75
/
package.json
166 lines (166 loc) · 6.05 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
{
"name": "openwisp-wifi-login-pages",
"version": "1.0.0",
"description": "",
"main": "src/index.js",
"dependencies": {
"@babel/register": "^7.10.1",
"@types/morgan": "^1.9.2",
"add": "^2.0.6",
"autoprefixer": "^9.8.0",
"axios": "^0.28.0",
"bytes": "^3.1.2",
"compression": "^1.7.4",
"concurrently": "^8.2.1",
"cookie-parser": "^1.4.5",
"cookie-signature": "^1.1.0",
"core-js": "^3.19.0",
"deep-object-diff": "^1.1.0",
"deepmerge": "^4.2.2",
"dompurify": "^3.0.6",
"duration-formatter": "^1.0.7",
"express": "^4.17.1",
"fs-extra": "^11.1.0",
"history": "^5.2.0",
"inquirer": "^8.1.1",
"js-yaml": "^4.1.0",
"jsdom": "^22.1.0",
"lodash": "^4.17.21",
"marked": "^12.0.0",
"morgan": "^1.10.0",
"node-plop": "^0.31.0",
"nodemon": "^3.0.3",
"pretty-bytes": "^6.1.1",
"prop-types": "^15.7.2",
"qs": "^6.9.4",
"raf": "^3.4.1",
"react": "^16.13.1",
"react-cookie": "^4.0.3",
"react-countdown": "^2.3.5",
"react-dom": "^16.13.1",
"react-helmet": "^6.1.0",
"react-infinite-scroll-component": "^6.1.0",
"react-phone-input-2": "^2.13.8",
"react-redux": "^8.1.3",
"react-router-dom": "^6.2.1",
"react-select": "^5.2.2",
"react-toastify": "^8.0.3",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"regenerator-runtime": "^0.13.9",
"tsutils": "^3.17.1",
"ttag": "^1.7.24",
"universal-cookie-express": "^6.1.1",
"winston": "^3.3.3",
"winston-transport-sentry-node": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-arrow-functions": "^7.10.1",
"@babel/plugin-transform-classes": "^7.15.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/plugin-transform-spread": "^7.15.8",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.1",
"@babel/runtime": "^7.12.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-transform-remove-strict-mode": "^0.0.2",
"brotli-webpack-plugin": "^1.1.0",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "6.1.1",
"copy-webpack-plugin": "^6.4.1",
"coveralls": "^3.1.0",
"css-loader": "^5.2.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.13.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-jest-enzyme": "^7.1.2",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react": "^1.1.7",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.1.0",
"hard-source-webpack-plugin": "^0.13.1",
"html-webpack-plugin": "^4.5.2",
"jest": "^27.0.6",
"mini-css-extract-plugin": "1.6.2",
"mock-local-storage": "^1.1.17",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"prettier": "^2.2.0",
"react-test-renderer": "^16.13.1",
"redux-mock-store": "^1.5.4",
"remove-strict-webpack-plugin": "^0.1.2",
"selenium-webdriver": "^4.0.0-beta.4",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^4.2.3",
"ttag-cli": "^1.9.2",
"typescript": "^5.4.5",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.7.3"
},
"scripts": {
"build": "export NODE_OPTIONS=--openssl-legacy-provider && npm run setup && webpack --mode production --progress --config config/webpack.config.js",
"build-dev": "export NODE_OPTIONS=--openssl-legacy-provider && npm run setup && webpack --mode development --progress --config config/webpack.config.js",
"client": "export NODE_OPTIONS=--openssl-legacy-provider && npm run setup && webpack serve --host 0.0.0.0 --mode development --config config/webpack.config.js",
"coverage": "jest --coverage --testPathIgnorePatterns=/browser-test/",
"coveralls": "test -f ./coverage/lcov.info && cat ./coverage/lcov.info | coveralls || echo 'no coverage file found'",
"add-org": "node config/add-org.js",
"server": "npm run setup && nodemon server/start.js",
"setup": "node config/setup.js && node config/build-translations.js",
"start": "concurrently \"npm run server\" \"npm run client\"",
"lint": "eslint '**/*.{js,jsx}' --quiet",
"lint:fix": "eslint '**/*.{js,jsx}' --fix",
"format": "prettier --write \"**/*.+(js|jsx|json|css|md)\"",
"format:check": "prettier -c \"**/*.+(js|jsx|json|css|md)\"",
"test": "jest client",
"browser-test": "./browser-test/wait_for_url.sh http://0.0.0.0:8080 http://localhost:8000/admin && jest browser-test --runInBand",
"test-inspect": "node inspect ./node_modules/.bin/jest --runInBand",
"stats": "STATS=true webpack-cli --profile --json --mode production --config config/webpack.config.js > compilation-stats.json && webpack-bundle-analyzer dist/stats.json",
"translations-add": "ttag init",
"translations-update": "sh -c 'ttag update $0 client/'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/openwisp/openwisp-wifi-login-pages.git"
},
"author": "",
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/openwisp/openwisp-wifi-login-pages/issues"
},
"homepage": "https://github.com/openwisp/openwisp-wifi-login-pages#readme",
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/config/jest.config.js",
"mock-local-storage"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js",
"\\.(gif|ttf|eot|svg)$": "<rootDir>/__mocks__/fileMock.js"
}
},
"nodemonConfig": {
"ignore": [
"client/*"
]
}
}