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",
|
|
"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.35.7",
|
|
"@blueprintjs/datetime": "1.25.3",
|
|
"@blueprintjs/labs": "^0.4.0",
|
|
"@types/enzyme": "3.1.10",
|
|
"@types/fastclick": "^1.0.28",
|
|
"@types/history": "^4.6.1",
|
|
"@types/i18next": "^8.4.2",
|
|
"@types/jest": "^21.1.4",
|
|
"@types/lodash": "4.14.108",
|
|
"@types/markdown-it": "^0.0.4",
|
|
"@types/moxios": "^0.4.5",
|
|
"@types/node": "10.0.8",
|
|
"@types/react": "16.0.34",
|
|
"@types/react-color": "2.13.5",
|
|
"@types/react-dom": "16.0.5",
|
|
"@types/react-redux": "^4.4.47",
|
|
"@types/react-router": "3",
|
|
"@types/redux": "^3.6.31",
|
|
"axios": "^0.18.0",
|
|
"boxed_value": "^1.0.0",
|
|
"browser-speech": "1.1.1",
|
|
"coveralls": "3.0.1",
|
|
"css-loader": "0.28.11",
|
|
"enzyme": "^3.1.0",
|
|
"enzyme-adapter-react-16": "^1.1.0",
|
|
"extract-text-webpack-plugin": "3.0.2",
|
|
"farmbot": "6.0.0-rc2",
|
|
"farmbot-toastr": "^1.0.3",
|
|
"fastclick": "^1.0.6",
|
|
"file-loader": "1.1.11",
|
|
"i18next": "11.3.2",
|
|
"imports-loader": "0.8.0",
|
|
"jest": "^21.2.1",
|
|
"json-loader": "0.5.7",
|
|
"lodash": "4.17.10",
|
|
"markdown-it": "^8.4.0",
|
|
"markdown-it-emoji": "^1.4.0",
|
|
"moment": "2.22.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.14.1",
|
|
"react-dom": "16.2.0",
|
|
"react-redux": "^5.0.6",
|
|
"react-router": "3.2",
|
|
"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.2",
|
|
"style-loader": "0.21.0",
|
|
"ts-jest": "22.4.6",
|
|
"ts-lint": "^4.5.1",
|
|
"ts-loader": "3.5.0",
|
|
"tslint": "5.10.0",
|
|
"typescript": "2.7.2",
|
|
"url-loader": "1.0.1",
|
|
"webpack": "3.11.0",
|
|
"webpack-uglify-js-plugin": "1.1.9",
|
|
"weinre": "^2.0.0-pre-I0Z7U9OV",
|
|
"which": "^1.3.0",
|
|
"yarn": "^1.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"jscpd": "^0.6.15",
|
|
"webpack-notifier": "^1.5.0"
|
|
},
|
|
"jest": {
|
|
"globals": {
|
|
"globalConfig": {
|
|
"NODE_ENV": "development",
|
|
"TOS_URL": "https://farmbot.io/tos/",
|
|
"PRIV_URL": "https://farmbot.io/privacy/",
|
|
"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",
|
|
"./webpack/__test_support__/additional_mocks.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"
|
|
}
|
|
}
|