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",
|
2017-10-25 05:42:53 -06:00
|
|
|
"test-slow": "jest --coverage --no-cache -w 2",
|
2017-10-28 09:36:59 -06:00
|
|
|
"test": "jest --no-coverage --cache -w 5",
|
2017-10-22 08:29:37 -06:00
|
|
|
"typecheck": "./node_modules/.bin/tsc --noEmit --jsx preserve"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"farmbot"
|
|
|
|
],
|
|
|
|
"author": "farmbot.io",
|
|
|
|
"license": "MIT",
|
|
|
|
"optionalDependencies": {
|
2018-03-20 06:55:05 -06:00
|
|
|
"webpack-dev-server": "^2.9.3"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-03-19 07:36:28 -06:00
|
|
|
"@blueprintjs/core": "1.35.7",
|
2018-02-20 12:40:53 -07:00
|
|
|
"@blueprintjs/datetime": "1.25.3",
|
2017-09-01 09:58:36 -06:00
|
|
|
"@blueprintjs/labs": "^0.4.0",
|
2018-02-20 12:11:37 -07:00
|
|
|
"@types/enzyme": "^3.1.9",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/fastclick": "^1.0.28",
|
2017-10-22 08:29:37 -06:00
|
|
|
"@types/history": "^4.6.1",
|
2017-09-01 10:13:28 -06:00
|
|
|
"@types/i18next": "^8.4.2",
|
2017-10-22 08:29:37 -06:00
|
|
|
"@types/jest": "^21.1.4",
|
2018-03-19 07:28:35 -06:00
|
|
|
"@types/lodash": "^4.14.105",
|
2017-09-29 12:57:30 -06:00
|
|
|
"@types/markdown-it": "^0.0.4",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/moxios": "^0.4.5",
|
2018-03-19 07:28:35 -06:00
|
|
|
"@types/node": "^9.4.7",
|
2018-01-20 09:56:51 -07:00
|
|
|
"@types/react": "16.0.34",
|
2018-02-20 12:11:37 -07:00
|
|
|
"@types/react-color": "^2.13.4",
|
2017-12-12 08:26:48 -07:00
|
|
|
"@types/react-dom": "16.0.3",
|
2017-09-01 09:58:36 -06:00
|
|
|
"@types/react-redux": "^4.4.47",
|
|
|
|
"@types/react-router": "3",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/redux": "^3.6.31",
|
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-05-14 09:27:08 -06:00
|
|
|
"coveralls": "3.0.1",
|
2018-05-14 09:28:58 -06:00
|
|
|
"css-loader": "0.28.11",
|
2017-10-22 08:29:37 -06:00
|
|
|
"enzyme": "^3.1.0",
|
2017-12-12 09:10:18 -07:00
|
|
|
"enzyme-adapter-react-16": "^1.1.0",
|
2018-03-20 06:55:05 -06:00
|
|
|
"extract-text-webpack-plugin": "3.0.2",
|
2018-05-01 18:19:30 -06:00
|
|
|
"farmbot": "6.0.0-rc2",
|
2017-07-26 17:35:09 -06:00
|
|
|
"farmbot-toastr": "^1.0.3",
|
|
|
|
"fastclick": "^1.0.6",
|
2018-05-14 09:30:53 -06:00
|
|
|
"file-loader": "1.1.11",
|
2018-05-14 09:33:49 -06:00
|
|
|
"i18next": "11.3.2",
|
2018-05-14 09:35:42 -06:00
|
|
|
"imports-loader": "0.8.0",
|
2017-09-29 12:57:30 -06:00
|
|
|
"jest": "^21.2.1",
|
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-05-14 09:41:28 -06:00
|
|
|
"moment": "2.22.1",
|
2017-07-27 14:04:01 -06:00
|
|
|
"moxios": "^0.4.0",
|
2018-05-14 09:43:20 -06:00
|
|
|
"node-sass": "4.9.0",
|
2018-03-20 06:55:05 -06:00
|
|
|
"optimize-css-assets-webpack-plugin": "3.2.0",
|
2017-12-12 09:18:28 -07:00
|
|
|
"raf": "^3.4.0",
|
2017-12-12 08:26:48 -07:00
|
|
|
"react": "16.2.0",
|
2017-09-29 12:45:52 -06:00
|
|
|
"react-addons-css-transition-group": "^15.6.2",
|
|
|
|
"react-addons-test-utils": "^15.6.2",
|
2018-03-19 07:28:35 -06:00
|
|
|
"react-color": "^2.14.0",
|
2017-12-12 08:26:48 -07:00
|
|
|
"react-dom": "16.2.0",
|
2017-08-21 07:25:26 -06:00
|
|
|
"react-redux": "^5.0.6",
|
2018-01-20 10:16:11 -07:00
|
|
|
"react-router": "3.2",
|
2017-12-12 08:26:48 -07:00
|
|
|
"react-test-renderer": "16.2.0",
|
2017-10-16 06:12:46 -06:00
|
|
|
"redux": "^3.7.2",
|
2017-10-11 17:00:41 -06:00
|
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"redux-thunk": "^2.0.1",
|
2018-03-20 06:55:05 -06:00
|
|
|
"sass-loader": "6.0.6",
|
|
|
|
"stats-webpack-plugin": "0.6.2",
|
|
|
|
"style-loader": "0.20.2",
|
2018-03-19 07:28:35 -06:00
|
|
|
"ts-jest": "^22.4.2",
|
2017-07-26 17:35:09 -06:00
|
|
|
"ts-lint": "^4.5.1",
|
2018-03-20 06:55:05 -06:00
|
|
|
"ts-loader": "3.5.0",
|
2017-10-22 08:29:37 -06:00
|
|
|
"tslint": "^5.8.0",
|
2018-02-22 06:38:00 -07:00
|
|
|
"typescript": "2.7.2",
|
2018-03-20 06:55:05 -06:00
|
|
|
"url-loader": "0.6.2",
|
|
|
|
"webpack": "3.11.0",
|
|
|
|
"webpack-uglify-js-plugin": "1.1.9",
|
2017-07-26 17:35:09 -06:00
|
|
|
"weinre": "^2.0.0-pre-I0Z7U9OV",
|
2017-08-09 09:41:53 -06:00
|
|
|
"which": "^1.3.0",
|
2018-05-06 03:00:02 -06:00
|
|
|
"yarn": "^1.6.0"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-09-29 12:45:52 -06:00
|
|
|
"jscpd": "^0.6.15",
|
2018-03-20 06:55:05 -06:00
|
|
|
"webpack-notifier": "^1.5.0"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"jest": {
|
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": {
|
|
|
|
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
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"
|
|
|
|
],
|
|
|
|
"mapCoverage": true,
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|