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",
|
2017-10-12 14:28:19 -06:00
|
|
|
"webpack": "./node_modules/.bin/webpack-dev-server --config config/webpack.dev.js --host 0.0.0.0",
|
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": {
|
2017-10-22 08:29:37 -06:00
|
|
|
"webpack-dev-server": "^2.9.3"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-10-22 10:31:52 -06:00
|
|
|
"@blueprintjs/core": "^1.32.0",
|
|
|
|
"@blueprintjs/datetime": "^1.23.0",
|
2017-09-01 09:58:36 -06:00
|
|
|
"@blueprintjs/labs": "^0.4.0",
|
2017-10-22 08:29:37 -06:00
|
|
|
"@types/enzyme": "^3.1.0",
|
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",
|
|
|
|
"@types/lodash": "^4.14.78",
|
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",
|
2017-10-22 08:29:37 -06:00
|
|
|
"@types/node": "^8.0.46",
|
2017-12-12 08:26:48 -07:00
|
|
|
"@types/react": "16.0.29",
|
2017-09-29 12:45:52 -06:00
|
|
|
"@types/react-color": "^2.13.2",
|
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",
|
2017-10-22 08:29:37 -06:00
|
|
|
"axios": "^0.17.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"boxed_value": "^1.0.0",
|
2017-09-29 12:57:30 -06:00
|
|
|
"coveralls": "^3.0.0",
|
2017-09-01 10:00:35 -06:00
|
|
|
"css-loader": "^0.28.7",
|
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",
|
2017-10-11 17:00:41 -06:00
|
|
|
"extract-text-webpack-plugin": "^3.0.1",
|
2017-12-11 12:16:57 -07:00
|
|
|
"farmbot": "5.2.0-rc6",
|
2017-07-26 17:35:09 -06:00
|
|
|
"farmbot-toastr": "^1.0.3",
|
|
|
|
"fastclick": "^1.0.6",
|
2017-10-11 17:00:41 -06:00
|
|
|
"file-loader": "^1.1.5",
|
2017-10-22 08:29:37 -06:00
|
|
|
"i18next": "^10.0.3",
|
2017-07-26 17:35:09 -06:00
|
|
|
"imports-loader": "^0.7.0",
|
2017-09-29 12:57:30 -06:00
|
|
|
"jest": "^21.2.1",
|
2017-07-26 17:35:09 -06:00
|
|
|
"json-loader": "^0.5.7",
|
|
|
|
"lodash": "^4.17.4",
|
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",
|
2017-10-11 17:00:41 -06:00
|
|
|
"moment": "^2.19.1",
|
2017-07-27 14:04:01 -06:00
|
|
|
"moxios": "^0.4.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"node-sass": "^4.5.3",
|
2017-09-29 12:45:52 -06:00
|
|
|
"optimize-css-assets-webpack-plugin": "^3.2.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",
|
|
|
|
"react-color": "^2.13.8",
|
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",
|
2017-09-01 09:58:36 -06:00
|
|
|
"react-router": "^3.0.0",
|
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",
|
|
|
|
"sass-loader": "^6.0.6",
|
2017-08-09 10:58:02 -06:00
|
|
|
"stats-webpack-plugin": "^0.6.1",
|
2017-10-11 17:00:41 -06:00
|
|
|
"style-loader": "^0.19.0",
|
2017-10-22 08:29:37 -06:00
|
|
|
"ts-jest": "^21.1.3",
|
2017-07-26 17:35:09 -06:00
|
|
|
"ts-lint": "^4.5.1",
|
2017-10-22 08:29:37 -06:00
|
|
|
"ts-loader": "^3.0.5",
|
|
|
|
"tslint": "^5.8.0",
|
2017-09-29 12:45:52 -06:00
|
|
|
"typescript": "^2.5.3",
|
2017-10-11 17:00:41 -06:00
|
|
|
"url-loader": "^0.6.2",
|
2017-10-22 08:29:37 -06:00
|
|
|
"webpack": "^3.8.1",
|
2017-10-16 06:12:46 -06:00
|
|
|
"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",
|
2017-10-12 10:47:39 -06:00
|
|
|
"yarn": "^1.2.1"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-09-29 12:45:52 -06:00
|
|
|
"jscpd": "^0.6.15",
|
2017-07-26 17:35:09 -06:00
|
|
|
"webpack-notifier": "^1.5.0"
|
|
|
|
},
|
|
|
|
"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-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",
|
2017-12-12 09:10:18 -07:00
|
|
|
"./webpack/__test_support__/unmock_i18next.ts",
|
|
|
|
"./webpack/__test_support__/request_animation_frame.js"
|
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-11-17 12:18:12 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8.9.0"
|
2017-07-26 17:35:09 -06:00
|
|
|
}
|
|
|
|
}
|