159 lines
4.6 KiB
JSON
159 lines
4.6 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 `sudo docker-compose up` instead.'",
|
|
"heroku-postbuild": "webpack --config=./config/webpack.prod.js",
|
|
"webpack": "./node_modules/.bin/webpack-dev-server --config config/webpack.dev.js",
|
|
"test-slow": "jest --coverage --ci --maxWorkers=6 --colors",
|
|
"test": "jest --no-coverage --cache -w 5 --colors",
|
|
"typecheck": "./node_modules/.bin/tsc --noEmit --jsx preserve",
|
|
"tslint": "./node_modules/tslint/bin/tslint --project .",
|
|
"sass-lint": "./node_modules/sass-lint/bin/sass-lint.js -c .sass-lint.yml -v -q"
|
|
},
|
|
"keywords": [
|
|
"farmbot"
|
|
],
|
|
"author": "farmbot.io",
|
|
"license": "MIT",
|
|
"optionalDependencies": {
|
|
"webpack-dev-server": "3.1.9"
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/core": "3.10.0",
|
|
"@blueprintjs/datetime": "3.5.0",
|
|
"@blueprintjs/select": "3.4.0",
|
|
"@types/enzyme": "3.1.15",
|
|
"@types/fastclick": "1.0.28",
|
|
"@types/i18next": "12.1.0",
|
|
"@types/jest": "23.3.12",
|
|
"@types/lodash": "4.14.119",
|
|
"@types/markdown-it": "0.0.7",
|
|
"@types/moxios": "0.4.8",
|
|
"@types/node": "10.12.18",
|
|
"@types/promise-timeout": "1.3.0",
|
|
"@types/react": "16.7.18",
|
|
"@types/react-color": "2.14.0",
|
|
"@types/react-dom": "16.0.11",
|
|
"@types/react-redux": "6.0.12",
|
|
"axios": "0.18.0",
|
|
"boxed_value": "1.0.0",
|
|
"browser-speech": "1.1.1",
|
|
"coveralls": "3.0.2",
|
|
"css-loader": "1.0.1",
|
|
"enzyme": "3.8.0",
|
|
"enzyme-adapter-react-16": "1.7.1",
|
|
"farmbot": "6.6.2",
|
|
"farmbot-toastr": "1.0.3",
|
|
"fastclick": "1.0.6",
|
|
"file-loader": "2.0.0",
|
|
"i18next": "12.1.0",
|
|
"imports-loader": "0.8.0",
|
|
"jest": "23.6.0",
|
|
"jest-cli": "23.6.0",
|
|
"json-loader": "0.5.7",
|
|
"lodash": "4.17.11",
|
|
"markdown-it": "8.4.2",
|
|
"markdown-it-emoji": "1.4.0",
|
|
"moment": "2.23.0",
|
|
"moxios": "0.4.0",
|
|
"node-sass": "4.11.0",
|
|
"optimize-css-assets-webpack-plugin": "5.0.1",
|
|
"promise-timeout": "1.3.0",
|
|
"raf": "3.4.1",
|
|
"react": "16.7.0",
|
|
"react-addons-test-utils": "15.6.2",
|
|
"react-color": "2.17.0",
|
|
"react-dom": "16.7.0",
|
|
"react-joyride": "2.0.2",
|
|
"react-redux": "5.1.1",
|
|
"react-test-renderer": "16.7.0",
|
|
"react-transition-group": "2.5.2",
|
|
"redux": "4.0.1",
|
|
"redux-immutable-state-invariant": "2.1.0",
|
|
"redux-thunk": "2.3.0",
|
|
"rollbar-sourcemap-webpack-plugin": "2.5.0",
|
|
"sass-lint": "1.12.1",
|
|
"sass-loader": "7.1.0",
|
|
"stats-webpack-plugin": "0.7.0",
|
|
"style-loader": "0.23.1",
|
|
"takeme": "0.11.1",
|
|
"ts-jest": "23.10.5",
|
|
"ts-lint": "4.5.1",
|
|
"ts-loader": "5.3.3",
|
|
"tslint": "5.12.0",
|
|
"typescript": "3.2.2",
|
|
"url-loader": "1.1.2",
|
|
"webpack": "4.28.3",
|
|
"webpack-uglify-js-plugin": "1.1.9",
|
|
"which": "1.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"jest-skipped-reporter": "0.0.4",
|
|
"webpack-cli": "3.2.1"
|
|
},
|
|
"jest": {
|
|
"clearMocks": true,
|
|
"logHeapUsage": true,
|
|
"globals": {
|
|
"ts-jest": {
|
|
"diagnostics": {
|
|
"ignoreCodes": [
|
|
151001
|
|
]
|
|
}
|
|
},
|
|
"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)": "ts-jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"webpack/**/*.{ts,tsx}"
|
|
],
|
|
"reporters": [
|
|
"default",
|
|
"jest-skipped-reporter"
|
|
],
|
|
"coverageReporters": [
|
|
"html",
|
|
"json",
|
|
"lcov"
|
|
],
|
|
"coverageDirectory": "<rootDir>/coverage_fe",
|
|
"setupTestFrameworkScriptFile": "<rootDir>/webpack/__test_support__/customMatchers.js"
|
|
}
|
|
}
|