109 lines
3.9 KiB
JSON
109 lines
3.9 KiB
JSON
{
|
|
"name": "invest-workbench",
|
|
"version": "3.16.0a2",
|
|
"description": "Models that map and value the goods and services from nature that sustain and fulfill human life",
|
|
"main": "build/main/main.js",
|
|
"homepage": "./",
|
|
"scripts": {
|
|
"start": "yarn build-main && yarn build:preload && concurrently --kill-others \"yarn serve\" \"electron .\"",
|
|
"serve": "cross-env MODE=development node scripts/watch.js",
|
|
"lint": "eslint --cache --color --ext .jsx,.js src",
|
|
"test": "jest --runInBand --testPathIgnorePatterns /tests/binary_tests/ /tests/sampledata_linkcheck/",
|
|
"test-main": "jest --runInBand --testMatch **/tests/main/*.test.js",
|
|
"test-renderer": "jest --runInBand --testMatch **/tests/renderer/*.test.js",
|
|
"test-flask": "jest --runInBand --testMatch **/tests/invest/*.test.js",
|
|
"test-electron-app": "jest --runInBand --testMatch **/tests/binary_tests/*.test.js",
|
|
"test-sampledata-registry": "jest --runInBand --testMatch **/tests/sampledata_linkcheck/*.test.js",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"build-license": "cat ../NOTICE.txt ../LICENSE.txt > build/license_en.txt",
|
|
"build-main": "babel --delete-dir-on-start src/main -d build/main --verbose --config-file ./babel.config.js --ignore **/__mocks__/* -s both --copy-files --no-copy-ignored",
|
|
"build:preload": "cd src/preload && vite build",
|
|
"build-renderer": "vite --config vite.config.mjs build",
|
|
"build": "yarn build-renderer && yarn build-main && yarn build:preload && yarn build-license",
|
|
"token": "cd .. && make jprint-DATA_BASE_URL > workbench/resources/storage_token.txt",
|
|
"dist": "yarn run token && cross-env DEBUG=electron-builder electron-builder build --config electron-builder-config.js"
|
|
},
|
|
"jest": {
|
|
"reporters": [
|
|
[
|
|
"github-actions",
|
|
{
|
|
"silent": false
|
|
}
|
|
],
|
|
[
|
|
"default",
|
|
{
|
|
"summaryThreshold": 2
|
|
}
|
|
]
|
|
],
|
|
"verbose": true,
|
|
"collectCoverage": true,
|
|
"setupFiles": [
|
|
"./tests/jest.overrides.js"
|
|
],
|
|
"testEnvironment": "jsdom",
|
|
"clearMocks": true,
|
|
"restoreMocks": true,
|
|
"resetModules": true
|
|
},
|
|
"keywords": [],
|
|
"author": "Natural Capital Project",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.13.10",
|
|
"electron-log": "^4.3.5",
|
|
"electron-store": "^8.1.0",
|
|
"i18next": "^22.4.9",
|
|
"localforage": "^1.9.0",
|
|
"node-fetch": "^2.6.7",
|
|
"nodejs-file-downloader": "^4.13.0",
|
|
"prop-types": "^15.7.2",
|
|
"react-i18next": "^12.1.4",
|
|
"toml": "^3.0.0",
|
|
"upath": "^2.0.1",
|
|
"yauzl": "^2.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.22.5",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/eslint-parser": "^7.22.5",
|
|
"@babel/plugin-transform-runtime": "^7.22.5",
|
|
"@babel/preset-env": "^7.22.5",
|
|
"@babel/preset-react": "^7.22.5",
|
|
"@babel/register": "^7.22.5",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
"ajv": "^8.12.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"bootstrap": "4.3.1",
|
|
"concurrently": "^8.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "^25.1.0",
|
|
"electron-builder": "^24.13.3",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-jsdoc": "^48.2.1",
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
"eslint-plugin-react": "^7.34.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"fs-extra": "^9.1.0",
|
|
"i18next-conv": "^15.1.1",
|
|
"i18next-parser": "^9.0.1",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^29.5.0",
|
|
"puppeteer-core": "^20.6.0",
|
|
"react": "^18.2.0",
|
|
"react-bootstrap": "^1.5.2",
|
|
"react-dom": "^18.2.0",
|
|
"react-icons": "^4.9.0",
|
|
"rimraf": "^3.0.2",
|
|
"vite": "^5.4.14",
|
|
"yazl": "^2.5.1"
|
|
}
|
|
} |