|
2 | 2 | "name": "@datopian/datapackage-views-js", |
3 | 3 | "version": "1.4.5", |
4 | 4 | "private": false, |
| 5 | + "license": "MIT", |
5 | 6 | "main": "/dist/App.js", |
6 | 7 | "module": "/dist/App.js", |
7 | 8 | "dependencies": { |
8 | | - "datapackage-render": "git+https://github.com/frictionlessdata/datapackage-render-js.git", |
| 9 | + "@tanstack/react-table": "^8.20.1", |
| 10 | + "datapackage-render": "git+https://github.com/frictionlessdata/datapackage-render-js.git#646b85eaccbb6961d5a734c54fbb00a4c9923b5e", |
9 | 11 | "i18next": "^19.0.3", |
10 | 12 | "i18next-browser-languagedetector": "^4.0.1", |
11 | | - "leaflet": "^1.5.1", |
12 | | - "plotly.js-basic-dist": "^1.49.2", |
13 | | - "react": "^16.8.6", |
14 | | - "react-csv": "^1.1.1", |
15 | | - "react-dom": "^16.8.6", |
| 13 | + "leaflet": "^1.9.4", |
| 14 | + "plotly.js-basic-dist": "^2.35.0", |
| 15 | + "react": "^18.3.1", |
| 16 | + "react-csv": "^2.2.2", |
| 17 | + "react-dom": "^18.3.1", |
16 | 18 | "react-i18next": "^11.2.7", |
17 | 19 | "react-leaflet": "^2.4.0", |
18 | | - "react-loader-spinner": "^2.3.0", |
| 20 | + "react-loader-spinner": "^6.1.6", |
19 | 21 | "react-pdf-js": "^5.1.0", |
20 | | - "react-plotly.js": "^2.3.0", |
21 | | - "react-scripts": "3.0.1", |
| 22 | + "react-plotly.js": "^2.6.0", |
| 23 | + "react-scripts": "4.0.3", |
22 | 24 | "react-table-v6": "^6.8.6", |
23 | 25 | "react-vega": "4.0.2", |
24 | | - "vega-lib": "4.4.0" |
| 26 | + "vega-lib": "^4.4.0" |
25 | 27 | }, |
26 | 28 | "scripts": { |
27 | 29 | "cosmos": "cosmos", |
28 | 30 | "cosmos:export": "cosmos-export", |
29 | 31 | "watch:css": "postcss src/stylesheets/index.css -o src/index.css -w", |
30 | 32 | "build:css": "postcss src/stylesheets/index.css -o src/index.css", |
31 | | - "start": "npm run watch:css & react-scripts start", |
| 33 | + "start": "NODE_OPTIONS=\"--openssl-legacy-provider\" react-scripts start", |
32 | 34 | "dev": "npm run watch:css & react-scripts start & npm run cosmos", |
33 | | - "build": "npm run build:css && react-scripts build", |
| 35 | + "build": "NODE_OPTIONS=\"--openssl-legacy-provider\" react-scripts build", |
34 | 36 | "build:non-optimized": "node ./build-non-split.js && mv build/static/js/*.js dist/js/main.js", |
35 | 37 | "build:package": "rm -rf dist/ && mkdir dist && NODE_ENV=production npx babel src/ -d dist/ --copy-files", |
36 | 38 | "coverage": "cat coverage/lcov.info | coveralls", |
37 | | - "test": "rescripts test --coverage --watchAll=false --collectCoverageFrom=src/**/*.js --collectCoverageFrom=!src/serviceWorker.js && npm run coverage", |
38 | | - "test:watch": "rescripts test", |
39 | | - "test:only": "rescripts test --watchAll=false", |
| 39 | + "test": "react-scripts test --coverage --watchAll=false --collectCoverageFrom=src/**/*.js --collectCoverageFrom=!src/serviceWorker.js && npm run coverage", |
| 40 | + "test:watch": "react-scripts test", |
| 41 | + "test:only": "react-scripts test --watchAll=false", |
40 | 42 | "eject": "react-scripts eject" |
41 | 43 | }, |
42 | 44 | "babel": { |
43 | 45 | "presets": [ |
44 | 46 | "@babel/preset-env", |
45 | 47 | "@babel/preset-react" |
46 | | - ], |
47 | | - "plugins": [ |
48 | | - "@babel/plugin-proposal-class-properties" |
49 | 48 | ] |
50 | 49 | }, |
51 | 50 | "eslintConfig": { |
|
64 | 63 | ] |
65 | 64 | }, |
66 | 65 | "devDependencies": { |
67 | | - "@babel/cli": "^7.5.5", |
68 | | - "@babel/core": "^7.5.5", |
69 | | - "@babel/plugin-proposal-class-properties": "^7.7.4", |
70 | | - "@babel/preset-env": "^7.5.5", |
71 | | - "@babel/preset-react": "^7.0.0", |
72 | | - "@rescripts/cli": "^0.0.11", |
73 | | - "@testing-library/react": "^8.0.4", |
74 | | - "autoprefixer": "^9.6.0", |
75 | | - "coveralls": "^3.0.4", |
76 | | - "jest-dom": "^3.5.0", |
77 | | - "postcss-cli": "^6.1.2", |
78 | | - "react-cosmos": "^4.8.1", |
79 | | - "rewire": "^4.0.1", |
80 | | - "tailwindcss": "^1.0.4" |
| 66 | + "@babel/cli": "^7.25.0", |
| 67 | + "@babel/core": "^7.25.0", |
| 68 | + "@babel/preset-env": "^7.25.0", |
| 69 | + "@babel/preset-react": "^7.24.0", |
| 70 | + "@testing-library/dom": "^10.4.1", |
| 71 | + "@testing-library/jest-dom": "^6.5.0", |
| 72 | + "@testing-library/react": "^16.0.1", |
| 73 | + "autoprefixer": "^9.8.6", |
| 74 | + "coveralls": "^3.1.1", |
| 75 | + "postcss-cli": "^8.3.1", |
| 76 | + "react-cosmos": "^6.2.0", |
| 77 | + "rewire": "^7.0.0", |
| 78 | + "tailwindcss": "^2.2.19" |
81 | 79 | } |
82 | 80 | } |
0 commit comments