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": {
|
|
|
|
"coverage": "cat **/*lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
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",
|
2017-11-02 09:21:33 -06:00
|
|
|
"start": "echo 'use `rails api:start`'",
|
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-07-20 04:24:02 -06:00
|
|
|
"test-slow": "jest --coverage --no-cache -w 4",
|
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",
|
|
|
|
"tslint": "./node_modules/tslint/bin/tslint --project ."
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"farmbot"
|
|
|
|
],
|
|
|
|
"author": "farmbot.io",
|
|
|
|
"license": "MIT",
|
|
|
|
"optionalDependencies": {
|
2018-09-06 09:54:52 -06:00
|
|
|
"webpack-dev-server": "3.1.7"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-05-14 16:12:33 -06:00
|
|
|
"@blueprintjs/core": "2.3.1",
|
|
|
|
"@blueprintjs/datetime": "2.0.3",
|
2018-05-15 06:51:35 -06:00
|
|
|
"@blueprintjs/select": "^2.0.1",
|
2018-09-06 10:10:59 -06:00
|
|
|
"@types/enzyme": "3.1.13",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/fastclick": "^1.0.28",
|
2018-09-06 09:54:52 -06:00
|
|
|
"@types/history": "4.7.0",
|
|
|
|
"@types/i18next": "8.4.5",
|
2018-07-27 10:07:46 -06:00
|
|
|
"@types/jest": "23.3.1",
|
2018-09-06 09:54:52 -06:00
|
|
|
"@types/lodash": "4.14.116",
|
|
|
|
"@types/markdown-it": "0.0.5",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/moxios": "^0.4.5",
|
2018-09-06 09:54:52 -06:00
|
|
|
"@types/node": "10.9.4",
|
2018-05-14 14:20:39 -06:00
|
|
|
"@types/react": "16.3.14",
|
2018-05-14 10:23:10 -06:00
|
|
|
"@types/react-color": "2.13.5",
|
2018-05-14 10:25:04 -06:00
|
|
|
"@types/react-dom": "16.0.5",
|
2018-05-14 14:20:39 -06:00
|
|
|
"@types/react-redux": "6.0.0",
|
2018-05-14 14:38:51 -06:00
|
|
|
"@types/react-router": "3.0.15",
|
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-09-06 12:34:06 -06:00
|
|
|
"enzyme": "3.6.0",
|
2018-09-10 14:46:03 -06:00
|
|
|
"enzyme-adapter-react-16": "1.5.0",
|
2018-09-12 16:49:22 -06:00
|
|
|
"farmbot": "6.5.0",
|
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",
|
|
|
|
"i18next": "11.7.0",
|
2018-05-14 09:35:42 -06:00
|
|
|
"imports-loader": "0.8.0",
|
2018-09-06 10:10:59 -06:00
|
|
|
"jest": "23.5.0",
|
2018-03-20 06:55:05 -06:00
|
|
|
"json-loader": "0.5.7",
|
2018-05-14 09:38:33 -06:00
|
|
|
"lodash": "4.17.10",
|
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-09-06 09:54:52 -06:00
|
|
|
"node-sass": "4.9.3",
|
|
|
|
"optimize-css-assets-webpack-plugin": "5.0.1",
|
2017-12-12 09:18:28 -07:00
|
|
|
"raf": "^3.4.0",
|
2018-09-06 10:10:59 -06:00
|
|
|
"react": "16.4.2",
|
2017-09-29 12:45:52 -06:00
|
|
|
"react-addons-css-transition-group": "^15.6.2",
|
|
|
|
"react-addons-test-utils": "^15.6.2",
|
2018-05-14 09:58:26 -06:00
|
|
|
"react-color": "2.14.1",
|
2018-09-06 10:10:59 -06:00
|
|
|
"react-dom": "16.4.2",
|
2017-08-21 07:25:26 -06:00
|
|
|
"react-redux": "^5.0.6",
|
2018-05-14 12:36:31 -06:00
|
|
|
"react-router": "^3",
|
2018-09-06 10:10:59 -06:00
|
|
|
"react-test-renderer": "16.4.2",
|
2018-05-15 07:58:43 -06:00
|
|
|
"react-transition-group": "^2.3.1",
|
2018-07-27 11:48:59 -06:00
|
|
|
"redux": "4.0.0",
|
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-06-13 10:48:54 -06:00
|
|
|
"rollbar-sourcemap-webpack-plugin": "^2.3.0",
|
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",
|
|
|
|
"style-loader": "0.23.0",
|
2018-09-06 10:10:59 -06:00
|
|
|
"ts-jest": "23.1.4",
|
2017-07-26 17:35:09 -06:00
|
|
|
"ts-lint": "^4.5.1",
|
2018-09-06 09:54:52 -06:00
|
|
|
"ts-loader": "5.0.0",
|
2018-07-27 09:59:48 -06:00
|
|
|
"tslint": "5.11.0",
|
2018-09-06 09:54:52 -06:00
|
|
|
"typescript": "3.0.3",
|
|
|
|
"url-loader": "1.1.1",
|
|
|
|
"webpack": "4.17.2",
|
2018-03-20 06:55:05 -06:00
|
|
|
"webpack-uglify-js-plugin": "1.1.9",
|
2017-07-26 17:35:09 -06:00
|
|
|
"weinre": "^2.0.0-pre-I0Z7U9OV",
|
2018-05-30 14:15:44 -06:00
|
|
|
"which": "1.3.1",
|
2018-09-06 09:54:52 -06:00
|
|
|
"yarn": "1.9.4"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-06-21 08:48:57 -06:00
|
|
|
"jscpd": "0.6.22",
|
2018-07-27 09:59:48 -06:00
|
|
|
"webpack-cli": "3.1.0",
|
2018-03-20 06:55:05 -06:00
|
|
|
"webpack-notifier": "^1.5.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": {
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|