Farmbot-Web-App/package.json

151 lines
4.4 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 --no-cache -w 4",
"test": "jest --no-coverage --cache -w 5",
"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.6.1",
"@blueprintjs/datetime": "^3.2.0",
"@blueprintjs/select": "^3.2.0",
"@types/enzyme": "3.1.14",
"@types/fastclick": "^1.0.28",
"@types/i18next": "11.9.0",
"@types/jest": "23.3.2",
"@types/lodash": "4.14.116",
"@types/markdown-it": "0.0.5",
"@types/moxios": "^0.4.5",
"@types/node": "10.11.3",
"@types/react": "16.4.14",
"@types/react-color": "2.13.6",
"@types/react-dom": "16.0.8",
"@types/react-redux": "6.0.9",
"axios": "^0.18.0",
"boxed_value": "^1.0.0",
"browser-speech": "1.1.1",
"coveralls": "3.0.2",
"css-loader": "1.0.0",
"enzyme": "3.6.0",
"enzyme-adapter-react-16": "1.5.0",
"farmbot": "6.5.0",
"farmbot-toastr": "^1.0.3",
"fastclick": "^1.0.6",
"file-loader": "2.0.0",
"i18next": "11.9.0",
"imports-loader": "0.8.0",
"jest": "23.6.0",
"json-loader": "0.5.7",
"lodash": "4.17.11",
"markdown-it": "^8.4.0",
"markdown-it-emoji": "^1.4.0",
"moment": "2.22.2",
"moxios": "^0.4.0",
"node-sass": "4.9.3",
"optimize-css-assets-webpack-plugin": "5.0.1",
"raf": "^3.4.0",
"react": "16.5.2",
"react-addons-test-utils": "^15.6.2",
"react-color": "2.14.1",
"react-dom": "16.5.2",
"react-redux": "^5.0.6",
"react-test-renderer": "16.5.2",
"react-transition-group": "2.5.0",
"redux": "4.0.0",
"redux-immutable-state-invariant": "^2.1.0",
"redux-thunk": "2.3.0",
"rollbar-sourcemap-webpack-plugin": "2.4.0",
"sass-lint": "^1.12.1",
"sass-loader": "7.1.0",
"stats-webpack-plugin": "0.7.0",
"style-loader": "0.23.0",
"takeme": "^0.11.1",
"ts-jest": "23.10.2",
"ts-lint": "^4.5.1",
"ts-loader": "5.2.1",
"tslint": "5.11.0",
"typescript": "3.1.1",
"url-loader": "1.1.1",
"webpack": "4.20.2",
"webpack-uglify-js-plugin": "1.1.9",
"weinre": "^2.0.0-pre-I0Z7U9OV",
"which": "1.3.1",
"yarn": "1.10.1"
},
"devDependencies": {
"webpack-cli": "3.1.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}"
],
"coverageReporters": [
"html",
"json",
"lcov"
],
"setupTestFrameworkScriptFile": "<rootDir>/webpack/__test_support__/customMatchers.js"
}
}