-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
94 lines (94 loc) · 3.43 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
{
"name": "@oacore/about",
"version": "1.0.1",
"description": "Static website for CORE",
"main": "index.js",
"author": "Knowledge Media Institute",
"license": "MIT",
"private": true,
"engines": {
"node": ">=12"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@oacore/eslint-config-react": "^1.0.6",
"@oacore/prettier-config": "^1.0.6",
"babel-eslint": "^10.1.0",
"broken-link-checker": "^0.7.8",
"eslint": "^7.13.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"npm-run-all": "^4.1.5",
"postcss": "8.4.14",
"postcss-custom-media": "^8.0.0",
"postcss-extend-rule": "^4.0.0",
"postcss-preset-env": "^7.7.2",
"prettier": "^2.1.2"
},
"dependencies": {
"@oacore/design": "latest",
"@octokit/rest": "^18.5.0",
"bootstrap": "^4.5.3",
"camelize": "^1.0.0",
"core-js": "^3.7.0",
"cssnano": "^4.1.10",
"decko": "^1.2.0",
"formdata-polyfill": "^3.0.20",
"front-matter": "^2.3.0",
"html-react-parser": "^1.4.6",
"js-cookie": "^2.2.1",
"js-yaml": "^3.13.1",
"json-loader": "^0.5.7",
"leaflet": "^1.7.1",
"leaflet.markercluster": "^1.4.1",
"mobx": "^6.3.2",
"mobx-react-lite": "^3.2.0",
"next": "^10.0.1",
"next-images": "^1.6.2",
"node-fetch": "^2.6.1",
"prop-types": "^15.6.2",
"raw-loader": "^4.0.2",
"react": "^17.0.1",
"react-cookie": "^4.0.3",
"react-dom": "^17.0.1",
"react-ga4": "^2.1.0",
"react-markdown": "^5.0.3",
"react-slick": "^0.29.0",
"react-spring": "^9.4.3",
"reactstrap": "^8.7.1",
"sass": "^1.29.0",
"slick-carousel": "^1.8.1",
"url": "^0.11.0",
"yaml-frontmatter-loader": "^0.1.0",
"yaml-import-loader": "^1.3.6"
},
"scripts": {
"lint": "run-p lint:*",
"lint:json": "prettier --ignore-path .gitignore --check '**/*.json'",
"lint:js": "eslint --ignore-path .gitignore --ext .js,.jsx .",
"test-dev": "blc http://localhost:3000 -ro --exclude='/browse' --exclude='/search' --exclude='/public' --exclude='/article-update' --exclude='/api-keys' --exclude='/documentation/api' --exclude='/dataset/getdatadump' --exclude='/recommender/register' --exclude='/images/harvested-by-core-orange.png' --exclude='/images/powered-by-core-orange.png'",
"test-local": "npm run test-dev -- --exclude-external",
"test-staging": "blc https://${CORE_STAGING_AREA}core.ac.uk -ro --exclude='/browse' --exclude='/search' --exclude='/public'",
"test": "npm run test-dev",
"dev": "next",
"prebuild": "cp netlify-cms.admin.html public/edit.html && cp netlify-cms.config.yml public/",
"build": "node ./node_modules/.bin/design build icons && next build",
"preexport": "npm run build",
"export": "next export",
"start": "if [ \"$NODE_ENV\" = 'production' ]; then next start; else next; fi"
}
}