2016-09-22 08:02:46 -06:00
|
|
|
{
|
2017-07-26 17:35:09 -06:00
|
|
|
"name": "farmbot-web-frontend",
|
|
|
|
"version": "1.1.0",
|
|
|
|
"description": "Farmbot web frontend.",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/farmbot/farmbot-web-frontend"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2018-10-19 14:01:30 -06:00
|
|
|
"coverage": "cat **/*lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
2019-01-30 07:00:26 -07:00
|
|
|
"build": "TARGET=production echo Rick- fix this 30 jan",
|
|
|
|
"start": "echo 'DEPRECATED. Remove `start` from npm scripts'",
|
2019-02-06 18:36:11 -07:00
|
|
|
"test-slow": "jest --coverage --ci -w 6 --colors",
|
2018-10-26 08:36:56 -06:00
|
|
|
"test": "jest --no-coverage --cache -w 5 --colors",
|
2019-02-06 18:36:11 -07:00
|
|
|
"typecheck": "./node_modules/typescript/bin/tsc --noEmit",
|
2018-09-13 14:26:53 -06:00
|
|
|
"tslint": "./node_modules/tslint/bin/tslint --project .",
|
2019-02-06 18:36:11 -07:00
|
|
|
"sass-lint": "./node_modules/sass-lint/bin/sass-lint.js -c .sass-lint.yml -v -q",
|
2019-02-10 22:10:29 -07:00
|
|
|
"sass-check": "./node_modules/sass/sass.js --no-source-map frontend/css/_index.scss sass.log",
|
|
|
|
"linters": "npm run typecheck && npm run tslint && npm run sass-lint && npm run sass-check"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"farmbot"
|
|
|
|
],
|
|
|
|
"author": "farmbot.io",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2019-02-13 17:27:50 -07:00
|
|
|
"@blueprintjs/core": "3.13.0",
|
|
|
|
"@blueprintjs/datetime": "3.7.1",
|
|
|
|
"@blueprintjs/select": "3.6.1",
|
|
|
|
"@types/enzyme": "3.1.18",
|
2019-02-14 21:09:39 -07:00
|
|
|
"@types/i18next": "12.1.0",
|
|
|
|
"@types/jest": "24.0.5",
|
2019-02-13 17:27:50 -07:00
|
|
|
"@types/lodash": "4.14.121",
|
2018-11-02 13:03:57 -06:00
|
|
|
"@types/markdown-it": "0.0.7",
|
2019-01-07 17:06:55 -07:00
|
|
|
"@types/moxios": "0.4.8",
|
2019-02-14 21:09:39 -07:00
|
|
|
"@types/node": "11.9.4",
|
2019-01-07 17:06:55 -07:00
|
|
|
"@types/promise-timeout": "1.3.0",
|
2019-02-13 17:27:50 -07:00
|
|
|
"@types/react": "16.8.3",
|
|
|
|
"@types/react-color": "2.14.1",
|
|
|
|
"@types/react-dom": "16.8.1",
|
|
|
|
"@types/react-redux": "7.0.1",
|
2019-01-07 17:06:55 -07:00
|
|
|
"axios": "0.18.0",
|
|
|
|
"boxed_value": "1.0.0",
|
2018-03-16 15:40:35 -06:00
|
|
|
"browser-speech": "1.1.1",
|
2018-07-02 15:20:10 -06:00
|
|
|
"coveralls": "3.0.2",
|
2019-01-07 17:06:55 -07:00
|
|
|
"enzyme": "3.8.0",
|
2019-02-13 17:27:50 -07:00
|
|
|
"enzyme-adapter-react-16": "1.9.1",
|
2019-02-15 13:52:08 -07:00
|
|
|
"farmbot": "7.0.0-rc7",
|
2019-01-07 17:06:55 -07:00
|
|
|
"farmbot-toastr": "1.0.3",
|
2019-02-14 21:09:39 -07:00
|
|
|
"i18next": "12.1.0",
|
2019-02-13 17:27:50 -07:00
|
|
|
"jest": "24.1.0",
|
|
|
|
"jest-cli": "24.1.0",
|
2018-09-18 10:47:23 -06:00
|
|
|
"lodash": "4.17.11",
|
2019-01-07 17:06:55 -07:00
|
|
|
"markdown-it": "8.4.2",
|
|
|
|
"markdown-it-emoji": "1.4.0",
|
2019-02-13 17:27:50 -07:00
|
|
|
"moment": "2.24.0",
|
2019-01-07 17:06:55 -07:00
|
|
|
"moxios": "0.4.0",
|
2019-01-29 09:45:50 -07:00
|
|
|
"parcel-bundler": "1.11.0",
|
2019-01-07 17:06:55 -07:00
|
|
|
"promise-timeout": "1.3.0",
|
|
|
|
"raf": "3.4.1",
|
2019-02-14 21:09:39 -07:00
|
|
|
"react": "16.8.2",
|
2019-01-07 17:06:55 -07:00
|
|
|
"react-addons-test-utils": "15.6.2",
|
2019-01-07 18:11:03 -07:00
|
|
|
"react-color": "2.17.0",
|
2019-02-14 21:09:39 -07:00
|
|
|
"react-dom": "16.8.2",
|
2019-02-13 17:27:50 -07:00
|
|
|
"react-joyride": "2.0.5",
|
2019-01-07 20:11:12 -07:00
|
|
|
"react-redux": "6.0.0",
|
2019-02-14 21:09:39 -07:00
|
|
|
"react-test-renderer": "16.8.2",
|
2019-02-13 17:27:50 -07:00
|
|
|
"react-transition-group": "2.5.3",
|
2019-01-07 17:06:55 -07:00
|
|
|
"redux": "4.0.1",
|
|
|
|
"redux-immutable-state-invariant": "2.1.0",
|
2018-07-27 10:21:43 -06:00
|
|
|
"redux-thunk": "2.3.0",
|
2019-01-07 17:06:55 -07:00
|
|
|
"sass-lint": "1.12.1",
|
|
|
|
"takeme": "0.11.1",
|
|
|
|
"ts-jest": "23.10.5",
|
|
|
|
"ts-lint": "4.5.1",
|
2019-02-13 17:27:50 -07:00
|
|
|
"tslint": "5.12.1",
|
|
|
|
"typescript": "3.3.3",
|
2018-10-03 09:57:46 -06:00
|
|
|
"which": "1.3.1"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-01-31 10:24:10 -07:00
|
|
|
"jest-skipped-reporter": "0.0.4",
|
2019-02-13 17:27:50 -07:00
|
|
|
"madge": "3.4.4",
|
|
|
|
"sass": "1.17.0"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"jest": {
|
2018-07-20 04:24:02 -06:00
|
|
|
"clearMocks": true,
|
|
|
|
"logHeapUsage": true,
|
2017-08-10 14:04:01 -06:00
|
|
|
"globals": {
|
2018-09-21 09:14:23 -06:00
|
|
|
"ts-jest": {
|
|
|
|
"diagnostics": {
|
|
|
|
"ignoreCodes": [
|
|
|
|
151001
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2017-08-10 14:04:01 -06:00
|
|
|
"globalConfig": {
|
2017-08-10 14:24:59 -06:00
|
|
|
"NODE_ENV": "development",
|
2017-08-10 14:04:01 -06:00
|
|
|
"TOS_URL": "https://farmbot.io/tos/",
|
2017-12-19 14:19:59 -07:00
|
|
|
"PRIV_URL": "https://farmbot.io/privacy/",
|
2017-08-10 14:24:59 -06:00
|
|
|
"LONG_REVISION": "------------",
|
|
|
|
"SHORT_REVISION": "--------"
|
2017-08-10 14:04:01 -06:00
|
|
|
}
|
|
|
|
},
|
2017-07-26 17:35:09 -06:00
|
|
|
"setupFiles": [
|
2019-01-30 07:00:26 -07:00
|
|
|
"./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"
|
2017-06-29 15:06:19 -06:00
|
|
|
],
|
2017-07-26 17:35:09 -06:00
|
|
|
"transform": {
|
2018-09-06 11:39:55 -06:00
|
|
|
".(ts|tsx)": "ts-jest"
|
2017-07-24 14:48:56 -06:00
|
|
|
},
|
2017-07-26 17:35:09 -06:00
|
|
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js"
|
|
|
|
],
|
|
|
|
"collectCoverage": true,
|
|
|
|
"collectCoverageFrom": [
|
2019-01-30 07:00:26 -07:00
|
|
|
"frontend/**/*.{ts,tsx}"
|
2017-07-26 17:35:09 -06:00
|
|
|
],
|
2018-11-17 14:06:26 -07:00
|
|
|
"reporters": [
|
|
|
|
"default",
|
|
|
|
"jest-skipped-reporter"
|
|
|
|
],
|
2017-07-26 17:35:09 -06:00
|
|
|
"coverageReporters": [
|
|
|
|
"html",
|
|
|
|
"json",
|
|
|
|
"lcov"
|
2017-12-15 03:28:08 -07:00
|
|
|
],
|
2018-11-02 13:52:55 -06:00
|
|
|
"coverageDirectory": "<rootDir>/coverage_fe",
|
2019-02-13 17:27:50 -07:00
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/frontend/__test_support__/customMatchers.js"
|
|
|
|
]
|
2017-07-26 17:35:09 -06:00
|
|
|
}
|
|
|
|
}
|