-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 3.5 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
{
"name": "almost-dead-net",
"homepage": "http://almost-dead.net",
"version": "3.1.0",
"repository": "https://github.com/alxndr/almost-dead-net",
"private": true,
"license": "UNLICENSED",
"author": "@alxndr",
"scripts": {
"build": "NODE_OPTIONS=--openssl-legacy-provider gatsby build",
"build:serve": "npm run build && npm run serve -- --port 9000",
"build:serve:9001": "npm run build && npm run serve -- --port 9001",
"clean": "gatsby clean",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run:single": "cypress run --spec cypress/e2e/${SPEC:?specify specfile to run, as SPEC var (no .cy.js)}.cy.js",
"predata:cp": "export N=${N:?how many files to copy}",
"data:cp": "ls -tl ~/Downloads/*.csv | head -$N | awk '{print $9}' | xargs -pJ% cp % src/data/csv",
"postdata:cp": "dos2unix src/data/csv/*",
"predeploy:prod": "npm run clean",
"deploy:prod": "export TAG=deploy-$(date '+%F-%H%M%S-%Z') && gatsby build && gh-pages --dist public --dotfiles --branch gh-pages --tag $TAG --message \"Deploy $TAG\" && echo cleaning up... && gh-pages-clean",
"postdeploy:prod": "npm run clean",
"predev": "npm run clean",
"dev": "NODE_OPTIONS=--openssl-legacy-provider gatsby develop",
"docs": "hads",
"prelint": "echo linting...",
"lint": "eslint src/ cypress/",
"postlint": "echo ... linting success",
"serve": "gatsby serve",
"start": "echo 'npm run dev' or 'npm run build:serve' && exit 1",
"pretest": "npm run lint",
"test": "npm run test:e2e",
"pretest:e2e": "echo Starting Cypress integration tests...",
"test:e2e": "WAIT_ON_TIMEOUT=${WAIT_ON_TIMEOUT:-240000} start-server-and-test dev ${URL:-http://localhost:${PORT:-8000}} cy:run"
},
"dependencies": {
"@loadable/babel-plugin": "^5.16.1",
"@loadable/component": "^5.16.4",
"@loadable/server": "^5.16.5",
"@loadable/webpack-plugin": "^5.15.2",
"classnames": "^2.3.2",
"gatsby": "3.15.0",
"gatsby-plugin-gatsby-cloud": "^3.2.0",
"gatsby-plugin-google-fonts": "^1.0.1",
"gatsby-plugin-image": "^1.11.0",
"gatsby-plugin-loadable-components-ssr": "^4.3.2",
"gatsby-plugin-react-helmet": "^4.14.0",
"gatsby-source-filesystem": "^3.15.0",
"gatsby-transformer-csv": "^3.15.0",
"prop-types": "^15.8.1",
"qrcode": "^1.5.4",
"ramda": "^0.30.1",
"react": "^17.0.2",
"react-autosuggest": "^10.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.27.0",
"react-table": "7.8.0",
"react-tabs": "^4.2.1",
"react-tippy": "^1.4.0",
"slugify": "^1.6.6"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"cypress": "^13",
"eslint": "8.57.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-cypress": "^3.6.0",
"eslint-plugin-react": "^7.37.2",
"gh-pages": "^6.2.0",
"hads": "^3.0.3",
"start-server-and-test": "^2.0.8"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true
},
"extends": "react-app",
"ignorePatterns": [
"serviceWorker.js",
"setupTests.js"
],
"rules": {
"semi": [
"warn",
"never"
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}