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-08-09 13:55:14 -06:00
|
|
|
"build": "TARGET=production bundle exec rake webpack:compile",
|
2017-07-26 17:35:09 -06:00
|
|
|
"start": "echo '===We use `npm run dev` now.==='",
|
2017-08-10 12:02:46 -06:00
|
|
|
"heroku-postbuild": "webpack --config=./config/webpack.prod.js",
|
2017-07-26 17:35:09 -06:00
|
|
|
"dev": "PORT=3000 bundle exec foreman start --procfile=Procfile.dev",
|
2017-08-10 13:11:17 -06:00
|
|
|
"webpack": "./node_modules/.bin/webpack-dev-server --config config/webpack.config.js --host 0.0.0.0",
|
2017-08-16 07:34:50 -06:00
|
|
|
"test": "jest --coverage --no-cache",
|
2017-07-27 14:54:48 -06:00
|
|
|
"typecheck": "tsc --noEmit --jsx preserve"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"farmbot"
|
|
|
|
],
|
|
|
|
"author": "farmbot.io",
|
|
|
|
"license": "MIT",
|
|
|
|
"optionalDependencies": {
|
2017-08-11 09:14:25 -06:00
|
|
|
"webpack-dev-server": "^2.7.1"
|
2017-07-26 17:35:09 -06:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-09-01 10:00:35 -06:00
|
|
|
"@blueprintjs/core": "^1.27.0",
|
|
|
|
"@blueprintjs/datetime": "^1.22.0",
|
2017-09-01 09:58:36 -06:00
|
|
|
"@blueprintjs/labs": "^0.4.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/deep-freeze": "^0.1.1",
|
2017-08-21 07:25:26 -06:00
|
|
|
"@types/enzyme": "^2.8.6",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/fastclick": "^1.0.28",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/handlebars": "^4.0.36",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/history": "^4.6.0",
|
2017-09-01 10:13:28 -06:00
|
|
|
"@types/i18next": "^8.4.2",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/jest": "^20.0.8",
|
|
|
|
"@types/lodash": "^4.14.74",
|
2017-09-01 10:13:28 -06:00
|
|
|
"@types/markdown-it": "^0.0.3",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/moxios": "^0.4.5",
|
2017-07-26 17:35:09 -06:00
|
|
|
"@types/mqtt": "^0.0.34",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/node": "^8.0.26",
|
2017-09-01 09:58:36 -06:00
|
|
|
"@types/react": "15.0.39",
|
2017-08-21 07:25:26 -06:00
|
|
|
"@types/react-color": "^2.13.0",
|
2017-09-01 10:00:35 -06:00
|
|
|
"@types/react-dom": "^15.5.4",
|
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",
|
|
|
|
"axios": "^0.16.2",
|
|
|
|
"boxed_value": "^1.0.0",
|
|
|
|
"coveralls": "^2.13.0",
|
2017-09-01 10:00:35 -06:00
|
|
|
"css-loader": "^0.28.7",
|
2017-07-26 17:35:09 -06:00
|
|
|
"deep-freeze": "^0.0.1",
|
|
|
|
"enzyme": "^2.9.1",
|
2017-09-01 10:13:28 -06:00
|
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
2017-09-01 10:00:35 -06:00
|
|
|
"farmbot": "4.4.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"farmbot-toastr": "^1.0.3",
|
|
|
|
"fastclick": "^1.0.6",
|
|
|
|
"file-loader": "^0.11.2",
|
|
|
|
"handlebars": "^4.0.10",
|
2017-09-01 10:13:28 -06:00
|
|
|
"i18next": "^9.0.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"imports-loader": "^0.7.0",
|
|
|
|
"jest": "^20.0.4",
|
|
|
|
"json-loader": "^0.5.7",
|
|
|
|
"lodash": "^4.17.4",
|
2017-09-01 10:00:35 -06:00
|
|
|
"markdown-it": "^8.4.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"markdown-it-emoji": "^1.4.0",
|
|
|
|
"moment": "^2.18.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-01 10:13:28 -06:00
|
|
|
"optimize-css-assets-webpack-plugin": "^3.1.1",
|
2017-07-26 17:35:09 -06:00
|
|
|
"react": "^15.6.1",
|
|
|
|
"react-addons-css-transition-group": "^15.6.0",
|
|
|
|
"react-addons-test-utils": "^15.6.0",
|
2017-08-21 07:25:26 -06:00
|
|
|
"react-color": "^2.13.5",
|
2017-07-26 17:35:09 -06:00
|
|
|
"react-dom": "^15.6.1",
|
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-07-26 17:35:09 -06:00
|
|
|
"react-test-renderer": "^15.6.1",
|
|
|
|
"redux": "^3.7.2",
|
|
|
|
"redux-immutable-state-invariant": "^2.0.0",
|
|
|
|
"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-07-26 17:35:09 -06:00
|
|
|
"style-loader": "^0.18.2",
|
2017-09-01 10:00:35 -06:00
|
|
|
"ts-jest": "^20.0.14",
|
2017-07-26 17:35:09 -06:00
|
|
|
"ts-lint": "^4.5.1",
|
2017-09-01 10:00:35 -06:00
|
|
|
"ts-loader": "^2.3.4",
|
2017-08-27 17:48:07 -06:00
|
|
|
"tslint": "^5.7.0",
|
2017-09-01 10:00:35 -06:00
|
|
|
"typescript": "^2.5.2",
|
2017-07-26 17:35:09 -06:00
|
|
|
"url-loader": "^0.5.9",
|
2017-08-21 07:25:26 -06:00
|
|
|
"webpack": "^3.5.5",
|
2017-07-26 17:35:09 -06:00
|
|
|
"webpack-uglify-js-plugin": "^1.1.9",
|
|
|
|
"weinre": "^2.0.0-pre-I0Z7U9OV",
|
2017-08-09 09:41:53 -06:00
|
|
|
"which": "^1.3.0",
|
2017-07-26 17:35:09 -06:00
|
|
|
"yarn": "^0.27.5"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"jscpd": "^0.6.13",
|
|
|
|
"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-08-09 13:30:52 -06:00
|
|
|
"./webpack/unmock_i18next.ts",
|
|
|
|
"./webpack/__test_support__/localstorage.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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|