Farmbot-Web-App/package.json

142 lines
4.2 KiB
JSON

{
"name": "farmbot-web-frontend",
"version": "1.1.0",
"description": "Farmbot web frontend.",
"repository": {
"type": "git",
"url": "https://github.com/farmbot/farmbot-web-frontend"
},
"scripts": {
"coverage": "cat **/*lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test-very-slow": "node --expose-gc ./node_modules/.bin/jest -i --colors # low CPU/RAM usage",
"test-slow": "./node_modules/.bin/jest -w 6 --colors",
"test": "./node_modules/.bin/jest -w 5 --no-coverage",
"typecheck": "./node_modules/typescript/bin/tsc --noEmit",
"tslint": "./node_modules/tslint/bin/tslint --project .",
"sass-lint": "./node_modules/sass-lint/bin/sass-lint.js -c .sass-lint.yml -v -q",
"sass-check": "./node_modules/sass/sass.js --no-source-map frontend/css/_index.scss sass.log",
"translation-check": " ./node_modules/jshint/bin/jshint --config public/app-resources/languages/.config public/app-resources/languages/*.js*",
"linters": "npm run typecheck && npm run tslint && npm run sass-lint && npm run sass-check && npm run translation-check"
},
"keywords": [
"farmbot"
],
"author": "farmbot.io",
"license": "MIT",
"dependencies": {
"@babel/core": "7.7.7",
"@blueprintjs/core": "3.22.3",
"@blueprintjs/datetime": "3.15.1",
"@blueprintjs/select": "3.11.2",
"@types/enzyme": "3.10.4",
"@types/jest": "24.0.25",
"@types/lodash": "4.14.149",
"@types/markdown-it": "0.0.9",
"@types/moxios": "0.4.9",
"@types/node": "13.1.1",
"@types/promise-timeout": "1.3.0",
"@types/react": "16.9.17",
"@types/react-color": "3.0.1",
"@types/react-dom": "16.9.4",
"@types/react-redux": "7.1.5",
"axios": "0.19.0",
"boxed_value": "1.0.0",
"browser-speech": "1.1.1",
"coveralls": "3.0.9",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"farmbot": "9.0.1-rc0",
"i18next": "19.0.2",
"install": "0.13.0",
"lodash": "4.17.15",
"markdown-it": "10.0.0",
"markdown-it-emoji": "1.4.0",
"moment": "2.24.0",
"moxios": "0.4.0",
"mqtt": "3.0.0",
"npm": "6.13.4",
"parcel-bundler": "1.12.4",
"promise-timeout": "1.3.0",
"raf": "3.4.1",
"react": "16.12.0",
"react-addons-test-utils": "15.6.2",
"react-color": "2.17.3",
"react-dom": "16.12.0",
"react-joyride": "2.2.1",
"react-redux": "7.1.3",
"react-test-renderer": "16.12.0",
"react-transition-group": "4.3.0",
"redux": "4.0.5",
"redux-immutable-state-invariant": "2.1.0",
"redux-thunk": "2.3.0",
"sass": "1.24.0",
"sass-lint": "1.13.1",
"takeme": "0.11.3",
"ts-jest": "24.2.0",
"ts-lint": "4.5.1",
"tslint": "5.20.1",
"typescript": "3.7.4",
"which": "2.0.2"
},
"devDependencies": {
"jest": "24.9.0",
"jest-cli": "24.9.0",
"jest-skipped-reporter": "0.0.5",
"jshint": "2.11.0-rc1",
"madge": "3.6.0"
},
"jest": {
"clearMocks": true,
"logHeapUsage": true,
"globals": {
"ts-jest": {
"diagnostics": {
"ignoreCodes": [
151001
]
}
},
"globalConfig": {
"NODE_ENV": "development",
"TOS_URL": "https://farm.bot/tos/",
"PRIV_URL": "https://farm.bot/privacy/",
"LONG_REVISION": "------------",
"SHORT_REVISION": "--------"
}
},
"setupFiles": [
"./frontend/__test_support__/setup_enzyme.js",
"./frontend/__test_support__/localstorage.js",
"./frontend/__test_support__/mock_fbtoaster.ts",
"./frontend/__test_support__/unmock_i18next.ts",
"./frontend/__test_support__/additional_mocks.ts"
],
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"frontend/**/*.{ts,tsx}"
],
"reporters": [
"default",
"jest-skipped-reporter"
],
"coverageReporters": [
"html",
"json",
"lcov"
],
"coverageDirectory": "<rootDir>/coverage_fe",
"setupFilesAfterEnv": [
"<rootDir>/frontend/__test_support__/customMatchers.js"
]
}
}