144 lines
4.2 KiB
JSON
144 lines
4.2 KiB
JSON
{
|
|
"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",
|
|
"clean": "rm -rf public/dist && rm -rf public/webpack",
|
|
"build": "TARGET=production bundle exec rake webpack:compile",
|
|
"start": "echo 'use `rails api:start`'",
|
|
"heroku-postbuild": "webpack --config=./config/webpack.prod.js",
|
|
"webpack": "./node_modules/.bin/webpack-dev-server --config config/webpack.dev.js --host 0.0.0.0",
|
|
"test-slow": "jest --coverage --no-cache -w 2",
|
|
"test": "jest --no-coverage --cache -w 5",
|
|
"typecheck": "./node_modules/.bin/tsc --noEmit --jsx preserve"
|
|
},
|
|
"keywords": [
|
|
"farmbot"
|
|
],
|
|
"author": "farmbot.io",
|
|
"license": "MIT",
|
|
"optionalDependencies": {
|
|
"webpack-dev-server": "^2.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/core": "^1.32.0",
|
|
"@blueprintjs/datetime": "^1.23.0",
|
|
"@blueprintjs/labs": "^0.4.0",
|
|
"@types/enzyme": "^3.1.0",
|
|
"@types/fastclick": "^1.0.28",
|
|
"@types/history": "^4.6.1",
|
|
"@types/i18next": "^8.4.2",
|
|
"@types/jest": "^21.1.4",
|
|
"@types/lodash": "^4.14.78",
|
|
"@types/markdown-it": "^0.0.4",
|
|
"@types/moxios": "^0.4.5",
|
|
"@types/node": "^8.0.46",
|
|
"@types/react": "16.0.29",
|
|
"@types/react-color": "^2.13.2",
|
|
"@types/react-dom": "16.0.3",
|
|
"@types/react-redux": "^4.4.47",
|
|
"@types/react-router": "3",
|
|
"@types/redux": "^3.6.31",
|
|
"axios": "^0.17.0",
|
|
"boxed_value": "^1.0.0",
|
|
"coveralls": "^3.0.0",
|
|
"css-loader": "^0.28.7",
|
|
"enzyme": "^3.1.0",
|
|
"enzyme-adapter-react-16": "^1.1.0",
|
|
"extract-text-webpack-plugin": "^3.0.1",
|
|
"farmbot": "5.2.1",
|
|
"farmbot-toastr": "^1.0.3",
|
|
"fastclick": "^1.0.6",
|
|
"file-loader": "^1.1.5",
|
|
"i18next": "^10.0.3",
|
|
"imports-loader": "^0.7.0",
|
|
"jest": "^21.2.1",
|
|
"json-loader": "^0.5.7",
|
|
"lodash": "^4.17.4",
|
|
"markdown-it": "^8.4.0",
|
|
"markdown-it-emoji": "^1.4.0",
|
|
"moment": "^2.19.1",
|
|
"moxios": "^0.4.0",
|
|
"node-sass": "^4.5.3",
|
|
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
"raf": "^3.4.0",
|
|
"react": "16.2.0",
|
|
"react-addons-css-transition-group": "^15.6.2",
|
|
"react-addons-test-utils": "^15.6.2",
|
|
"react-color": "^2.13.8",
|
|
"react-dom": "16.2.0",
|
|
"react-redux": "^5.0.6",
|
|
"react-router": "^3.0.0",
|
|
"react-test-renderer": "16.2.0",
|
|
"redux": "^3.7.2",
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
|
"redux-thunk": "^2.0.1",
|
|
"sass-loader": "^6.0.6",
|
|
"stats-webpack-plugin": "^0.6.1",
|
|
"style-loader": "^0.19.0",
|
|
"ts-jest": "^21.1.3",
|
|
"ts-lint": "^4.5.1",
|
|
"ts-loader": "^3.0.5",
|
|
"tslint": "^5.8.0",
|
|
"typescript": "^2.5.3",
|
|
"url-loader": "^0.6.2",
|
|
"webpack": "^3.8.1",
|
|
"webpack-uglify-js-plugin": "^1.1.9",
|
|
"weinre": "^2.0.0-pre-I0Z7U9OV",
|
|
"which": "^1.3.0",
|
|
"yarn": "^1.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"jscpd": "^0.6.15",
|
|
"webpack-notifier": "^1.5.0"
|
|
},
|
|
"jest": {
|
|
"globals": {
|
|
"globalConfig": {
|
|
"NODE_ENV": "development",
|
|
"TOS_URL": "https://farmbot.io/tos/",
|
|
"LONG_REVISION": "------------",
|
|
"SHORT_REVISION": "--------"
|
|
}
|
|
},
|
|
"moduleNameMapper": {
|
|
"^.*\\.scss$": "<rootDir>/webpack/__test_support__/stub.ts"
|
|
},
|
|
"setupFiles": [
|
|
"./webpack/__test_support__/setup_enzyme.js",
|
|
"./webpack/__test_support__/localstorage.js",
|
|
"./webpack/__test_support__/mock_fbtoaster.ts",
|
|
"./webpack/__test_support__/unmock_i18next.ts"
|
|
],
|
|
"transform": {
|
|
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
},
|
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"mapCoverage": true,
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"webpack/**/*.{ts,tsx}"
|
|
],
|
|
"coverageReporters": [
|
|
"html",
|
|
"json",
|
|
"lcov"
|
|
],
|
|
"setupTestFrameworkScriptFile": "<rootDir>/webpack/__test_support__/customMatchers.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
}
|
|
}
|