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.",
|
|
|
|
"main": "dist/entry.js",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/farmbot/farmbot-web-frontend"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2018-10-16 13:19:35 -06:00
|
|
|
"coverage": "cat **/*lcov.info | ./node_modules/coveralls/bin/coveralls.js --verbose",
|
2017-11-28 17:01:35 -07:00
|
|
|
"clean": "rm -rf public/dist && rm -rf public/webpack",
|
2017-08-09 13:55:14 -06:00
|
|
|
"build": "TARGET=production bundle exec rake webpack:compile",
|
2018-10-02 07:57:59 -06:00
|
|
|
"start": "echo 'use `sudo docker-compose up` instead.'",
|
2017-08-10 12:02:46 -06:00
|
|
|
"heroku-postbuild": "webpack --config=./config/webpack.prod.js",
|
2018-01-30 12:02:44 -07:00
|
|
|
"webpack": "./node_modules/.bin/webpack-dev-server --config config/webpack.dev.js",
|
2018-10-19 12:55:56 -06:00
|
|
|
"test-slow": "jest --coverage --ci --maxWorkers=6 --colors",
|
2017-10-28 09:36:59 -06:00
|
|
|
"test": "jest --no-coverage --cache -w 5",
|
2018-08-08 08:44:12 -06:00
|
|
|
"typecheck": "./node_modules/.bin/tsc --noEmit --jsx preserve",
|
2018-09-13 14:26:53 -06:00
|
|
|
"tslint": "./node_modules/tslint/bin/tslint --project .",
|
|
|
|
"sass-lint": "./node_modules/sass-lint/bin/sass-lint.js -c .sass-lint.yml -v -q"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"farmbot"
|
|
|
|
],
|
|
|
|
"author": "farmbot.io",
|
|
|
|
"license": "MIT",
|
|
|
|
"optionalDependencies": {
|
2018-09-28 08:37:54 -06:00
|
|
|
"webpack-dev-server": "3.1.9"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-10-08 10:35:39 -06:00
|
|
|
"@blueprintjs/core": "^3.7.0",
|
|
|
|
"@blueprintjs/datetime": "^3.3.0",
|
2018-09-28 13:22:28 -06:00
|
|
|
"@blueprintjs/select": "^3.2.0",
|
2018-09-18 11:06:05 -06:00
|
|
|
"@types/enzyme": "3.1.14",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/fastclick": "^1.0.28",
|
2018-10-16 15:35:04 -06:00
|
|
|
"@types/i18next": "^11.9.3",
|
2018-10-12 12:27:06 -06:00
|
|
|
"@types/jest": "^23.3.5",
|
|
|
|
"@types/lodash": "^4.14.117",
|
|
|
|
"@types/markdown-it": "0.0.6",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/moxios": "^0.4.5",
|
2018-10-16 15:35:04 -06:00
|
|
|
"@types/node": "^10.12.0",
|
|
|
|
"@types/react": "^16.4.18",
|
2018-09-18 11:39:55 -06:00
|
|
|
"@types/react-color": "2.13.6",
|
2018-10-12 12:27:06 -06:00
|
|
|
"@types/react-dom": "^16.0.9",
|
2018-10-15 17:23:58 -06:00
|
|
|
"@types/react-joyride": "^2.0.0",
|
2018-09-18 12:35:43 -06:00
|
|
|
"@types/react-redux": "6.0.9",
|
2018-02-20 11:59:42 -07:00
|
|
|
"axios": "^0.18.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"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",
|
2018-07-27 10:15:03 -06:00
|
|
|
"css-loader": "1.0.0",
|
2018-10-08 10:35:39 -06:00
|
|
|
"enzyme": "^3.7.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.6.0",
|
2018-10-14 16:22:45 -06:00
|
|
|
"farmbot": "6.5.2",
|
2017-07-26 17:35:09 -06:00
|
|
|
"farmbot-toastr": "^1.0.3",
|
|
|
|
"fastclick": "^1.0.6",
|
2018-09-06 09:54:52 -06:00
|
|
|
"file-loader": "2.0.0",
|
2018-10-12 12:27:06 -06:00
|
|
|
"i18next": "^11.9.1",
|
2018-05-14 09:35:42 -06:00
|
|
|
"imports-loader": "0.8.0",
|
2018-09-18 10:53:42 -06:00
|
|
|
"jest": "23.6.0",
|
2018-03-20 06:55:05 -06:00
|
|
|
"json-loader": "0.5.7",
|
2018-09-18 10:47:23 -06:00
|
|
|
"lodash": "4.17.11",
|
2017-10-12 10:47:39 -06:00
|
|
|
"markdown-it": "^8.4.0",
|
2017-10-16 06:12:46 -06:00
|
|
|
"markdown-it-emoji": "^1.4.0",
|
2018-06-06 06:48:49 -06:00
|
|
|
"moment": "2.22.2",
|
2017-07-27 14:04:01 -06:00
|
|
|
"moxios": "^0.4.0",
|
2018-10-16 15:35:04 -06:00
|
|
|
"node-sass": "^4.9.4",
|
2018-09-06 09:54:52 -06:00
|
|
|
"optimize-css-assets-webpack-plugin": "5.0.1",
|
2017-12-12 09:18:28 -07:00
|
|
|
"raf": "^3.4.0",
|
2018-09-19 10:48:04 -06:00
|
|
|
"react": "16.5.2",
|
2017-09-29 12:45:52 -06:00
|
|
|
"react-addons-test-utils": "^15.6.2",
|
2018-05-14 09:58:26 -06:00
|
|
|
"react-color": "2.14.1",
|
2018-09-19 10:48:04 -06:00
|
|
|
"react-dom": "16.5.2",
|
2018-10-15 17:23:58 -06:00
|
|
|
"react-joyride": "^2.0.0-15",
|
2017-08-21 07:25:26 -06:00
|
|
|
"react-redux": "^5.0.6",
|
2018-09-19 10:48:04 -06:00
|
|
|
"react-test-renderer": "16.5.2",
|
2018-09-28 08:37:54 -06:00
|
|
|
"react-transition-group": "2.5.0",
|
2018-10-16 15:35:04 -06:00
|
|
|
"redux": "^4.0.1",
|
2017-10-11 17:00:41 -06:00
|
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
2018-07-27 10:21:43 -06:00
|
|
|
"redux-thunk": "2.3.0",
|
2018-09-28 08:37:54 -06:00
|
|
|
"rollbar-sourcemap-webpack-plugin": "2.4.0",
|
2018-09-13 14:26:53 -06:00
|
|
|
"sass-lint": "^1.12.1",
|
2018-08-03 10:49:53 -06:00
|
|
|
"sass-loader": "7.1.0",
|
2018-09-06 09:54:52 -06:00
|
|
|
"stats-webpack-plugin": "0.7.0",
|
2018-10-08 10:35:39 -06:00
|
|
|
"style-loader": "^0.23.1",
|
2018-09-13 14:14:22 -06:00
|
|
|
"takeme": "^0.11.1",
|
2018-10-08 10:35:39 -06:00
|
|
|
"ts-jest": "^23.10.4",
|
2017-07-26 17:35:09 -06:00
|
|
|
"ts-lint": "^4.5.1",
|
2018-10-16 15:35:04 -06:00
|
|
|
"ts-loader": "^5.2.2",
|
2018-07-27 09:59:48 -06:00
|
|
|
"tslint": "5.11.0",
|
2018-10-12 12:27:06 -06:00
|
|
|
"typescript": "^3.1.3",
|
|
|
|
"url-loader": "^1.1.2",
|
2018-09-28 08:37:54 -06:00
|
|
|
"webpack": "4.20.2",
|
2018-03-20 06:55:05 -06:00
|
|
|
"webpack-uglify-js-plugin": "1.1.9",
|
2018-10-03 09:57:46 -06:00
|
|
|
"which": "1.3.1"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-10-08 10:35:39 -06:00
|
|
|
"webpack-cli": "^3.1.2"
|
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
|
|
|
"moduleNameMapper": {
|
2017-08-09 13:30:52 -06:00
|
|
|
"^.*\\.scss$": "<rootDir>/webpack/__test_support__/stub.ts"
|
2017-07-18 14:39:38 -06:00
|
|
|
},
|
2017-07-26 17:35:09 -06:00
|
|
|
"setupFiles": [
|
2017-10-22 08:29:37 -06:00
|
|
|
"./webpack/__test_support__/setup_enzyme.js",
|
|
|
|
"./webpack/__test_support__/localstorage.js",
|
|
|
|
"./webpack/__test_support__/mock_fbtoaster.ts",
|
2018-01-31 21:27:04 -07:00
|
|
|
"./webpack/__test_support__/unmock_i18next.ts",
|
|
|
|
"./webpack/__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": [
|
2017-08-09 13:30:52 -06:00
|
|
|
"webpack/**/*.{ts,tsx}"
|
2017-07-26 17:35:09 -06:00
|
|
|
],
|
|
|
|
"coverageReporters": [
|
|
|
|
"html",
|
|
|
|
"json",
|
|
|
|
"lcov"
|
2017-12-15 03:28:08 -07:00
|
|
|
],
|
|
|
|
"setupTestFrameworkScriptFile": "<rootDir>/webpack/__test_support__/customMatchers.js"
|
2017-07-26 17:35:09 -06:00
|
|
|
}
|
|
|
|
}
|