-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
136 lines (136 loc) · 4.63 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
{
"name": "panoptes-front-end",
"dependencies": {
"@babel/runtime": "~7.26.0",
"@sentry/browser": "~7.120.0",
"animated-scrollto": "~1.1.0",
"chart.js": "~4.4.6",
"chartist": "~0.11.0",
"classnames": "~2.5.1",
"counterpart": "~0.18.6",
"data-uri-to-blob": "0.0.4",
"debounce": "~2.0.0",
"dompurify": "~3.1.7",
"drag-reorderable": "~0.2.0",
"hash.js": "~1.1.7",
"history": "~3.3.0",
"lodash": "~4.17.11",
"markdownz": "~9.1.6",
"modal-form": "~2.9",
"moment": "~2.29.0",
"panoptes-client": "~5.6.2",
"papaparse": "^5.4.1",
"polished": "~4.3.1",
"prop-types": "~15.8.1",
"qs": "~6.11.2",
"rc-slider": "~8.6.5",
"react": "~17.0.2",
"react-chartist": "~0.13.3",
"react-dom": "~17.0.2",
"react-helmet": "~5.2.0",
"react-interpolate-component": "~0.12.0",
"react-pullout": "~1.0.2",
"react-redux": "~8.1.3",
"react-router": "~3.2.0",
"react-router-scroll": "~0.4.4",
"react-select": "1.0.0-rc.10",
"react-sizeme": "~3.0.2",
"react-sizes": "~1.0.4",
"react-translate-component": "~0.15.1",
"redux": "~4.2.1",
"redux-thunk": "~2.4.1",
"regl": "~1.3.11",
"shortid": "~2.2.14",
"sort-into-columns": "~1.0.0",
"striptags": "~3.2.0",
"styled-components": "~4.1.3",
"styled-theming": "~2.2.0",
"svg-path-properties": "~1.3.0",
"turndown": "~7.1.2",
"visible-element": "~1.0.1"
},
"devDependencies": {
"@babel/cli": "~7.24.1",
"@babel/core": "~7.23.5",
"@babel/eslint-parser": "~7.23.3",
"@babel/plugin-transform-runtime": "~7.23.4",
"@babel/preset-env": "~7.23.9",
"@babel/preset-react": "~7.25.9",
"@babel/register": "~7.22.15",
"@wojtekmaj/enzyme-adapter-react-17": "~0.8.0",
"babel-loader": "~9.1.3",
"babel-plugin-rewire": "~1.2.0",
"babel-plugin-transform-es2015-modules-commonjs": "~6.26.2",
"chai": "~4.3.10",
"check-dependencies": "~2.0.0",
"check-engines": "~1.6.0",
"coffee-loader": "~4.0.0",
"coffee-react": "~5.0.1",
"coffeescript": "~2.7.0",
"copy-webpack-plugin": "~11.0.0",
"css-loader": "~7.1.2",
"ejs": "~3.1.10",
"engine.io-client": "~6.6.0",
"enzyme": "~3.11.0",
"eslint": "~8.55.0",
"eslint-config-airbnb": "~19.0.4",
"eslint-plugin-import": "~2.29.1",
"eslint-plugin-jsx-a11y": "~6.8.0",
"eslint-plugin-react": "~7.33.2",
"eslint-watch": "~8.0.0",
"express": "~4.21.1",
"html-webpack-plugin": "~5.6.3",
"jsdom": "~24.1.1",
"mini-css-extract-plugin": "~2.9.2",
"mocha": "~10.2.0",
"nib": "~1.2.0",
"nyc": "~15.1.0",
"path-browserify": "~1.0.1",
"process": "~0.11.10",
"rimraf": "~5.0.5",
"sinon": "~17.0.1",
"sinon-chai": "~3.7.0",
"style-loader": "~4.0.0",
"stylus": "~0.62.0",
"stylus-loader": "~8.1.1",
"url": "~0.11.3",
"util": "~0.12.5",
"webpack": "~5.95.0",
"webpack-cli": "~5.1.4",
"webpack-dashboard": "^3.3.8",
"webpack-dev-server": "~4.15.1",
"whatwg-url": "~14.0.0"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"license": "Apache-2.0",
"nyc": {
"exclude": [
"**/*.spec.js",
"**/*.spec.jsx",
"dist",
"node_modules",
"test"
],
"extension": [
".cjsx",
".jsx"
]
},
"repository": "zooniverse/Panoptes-Front-End",
"scripts": {
"coverage": "nyc report --reporter=lcov",
"start": "export NODE_ENV=development; check-engines && check-dependencies && webpack-dashboard -p 3736 -- webpack-dev-server --config ./webpack.dev.js",
"_build": "export HEAD_COMMIT=$(git rev-parse --short HEAD); check-engines && check-dependencies && rimraf dist; webpack --config ./webpack.build.js --progress --color",
"build-production": "export NODE_ENV=production; npm run _build",
"serve-static": "export NODE_ENV=staging; check-engines && check-dependencies && npm run _build && node ./static-server.js",
"test-and-watch": "NODE_ENV=development BABEL_ENV=test mocha --watch --watch-extensions js,jsx,coffee,cjsx test/setup.js test/enzyme-configuration.js $(find app -name *.spec.js*) --reporter nyan || true",
"test": "NODE_ENV=development BABEL_ENV=test nyc mocha --exit test/setup.js test/enzyme-configuration.js $(find app -name *.spec.js*) --reporter nyan || true",
"test-one": "NODE_ENV=development BABEL_ENV=test nyc mocha --exit test/setup.js test/enzyme-configuration.js $1",
"test-ci": "NODE_ENV=development BABEL_ENV=test nyc mocha --exit test/setup.js test/enzyme-configuration.js $(find app -name *.spec.js*)",
"lint": "eslint ./app --ext .jsx,.js",
"lint:watch": "esw --watch --color ./app --ext .jsx,.js"
}
}