-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
82 lines (82 loc) · 2.58 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
{
"name": "@datopian/datapackage-views-js",
"version": "1.4.5",
"private": false,
"main": "/dist/App.js",
"module": "/dist/App.js",
"dependencies": {
"datapackage-render": "git+https://github.com/frictionlessdata/datapackage-render-js.git",
"i18next": "^19.0.3",
"i18next-browser-languagedetector": "^4.0.1",
"leaflet": "^1.5.1",
"plotly.js-basic-dist": "^1.49.2",
"react": "^16.8.6",
"react-csv": "^1.1.1",
"react-dom": "^16.8.6",
"react-i18next": "^11.2.7",
"react-leaflet": "^2.4.0",
"react-loader-spinner": "^2.3.0",
"react-pdf-js": "^5.1.0",
"react-plotly.js": "^2.3.0",
"react-scripts": "3.0.1",
"react-table-v6": "^6.8.6",
"react-vega": "4.0.2",
"vega-lib": "4.4.0"
},
"scripts": {
"cosmos": "cosmos",
"cosmos:export": "cosmos-export",
"watch:css": "postcss src/stylesheets/index.css -o src/index.css -w",
"build:css": "postcss src/stylesheets/index.css -o src/index.css",
"start": "npm run watch:css & react-scripts start",
"dev": "npm run watch:css & react-scripts start & npm run cosmos",
"build": "npm run build:css && react-scripts build",
"build:non-optimized": "node ./build-non-split.js && mv build/static/js/*.js dist/js/main.js",
"build:package": "rm -rf dist/ && mkdir dist && NODE_ENV=production npx babel src/ -d dist/ --copy-files",
"coverage": "cat coverage/lcov.info | coveralls",
"test": "rescripts test --coverage --watchAll=false --collectCoverageFrom=src/**/*.js --collectCoverageFrom=!src/serviceWorker.js && npm run coverage",
"test:watch": "rescripts test",
"test:only": "rescripts test --watchAll=false",
"eject": "react-scripts eject"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@rescripts/cli": "^0.0.11",
"@testing-library/react": "^8.0.4",
"autoprefixer": "^9.6.0",
"coveralls": "^3.0.4",
"jest-dom": "^3.5.0",
"postcss-cli": "^6.1.2",
"react-cosmos": "^4.8.1",
"rewire": "^4.0.1",
"tailwindcss": "^1.0.4"
}
}