179 lines
4.8 KiB
JSON
179 lines
4.8 KiB
JSON
{
|
|
"name": "bus-routes",
|
|
"version": "0.5.0",
|
|
"private": true,
|
|
"homepage": "https://gregorydosh.github.io/bus-routes/",
|
|
"keywords": [
|
|
"react",
|
|
"material design",
|
|
"material-ui"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/GregoryDosh/bus-routes/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:GregoryDosh/bus-routes.git"
|
|
},
|
|
"dependencies": {
|
|
"@storybook/addon-storyshots": "^3.2.8",
|
|
"axios": "^0.16.2",
|
|
"babel-polyfill": "^6.26.0",
|
|
"lodash": "^4.17.4",
|
|
"material-ui": "next",
|
|
"material-ui-icons": "next",
|
|
"md5": "^2.2.1",
|
|
"moment": "^2.18.1",
|
|
"prop-types": "^15.5.10",
|
|
"react": "^15.6.0",
|
|
"react-a11y": "^0.3.4",
|
|
"react-dev-utils": "^4.0.1",
|
|
"react-dom": "^15.6.0",
|
|
"react-helmet": "^5.2.0",
|
|
"react-redux": "^5.0.6",
|
|
"react-router": "^4.2.0",
|
|
"react-router-config": "^1.0.0-beta.4",
|
|
"react-router-dom": "^4.2.2",
|
|
"react-router-redux": "^4.0.8",
|
|
"react-transition-group": "^2.2.0",
|
|
"redux": "^3.7.2",
|
|
"redux-devtools-extension": "^2.13.2",
|
|
"redux-immutable-state-invariant": "^2.0.0",
|
|
"redux-localstorage": "^0.4.1",
|
|
"redux-mock-store": "^1.2.3",
|
|
"redux-thunk": "^2.2.0",
|
|
"typeface-roboto": "^0.0.35"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/addon-actions": "^3.2.6",
|
|
"@storybook/addon-links": "^3.2.6",
|
|
"@storybook/react": "^3.2.8",
|
|
"autoprefixer": "^7.1.3",
|
|
"axios-mock-adapter": "^1.9.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-jest": "^20.0.3",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-preset-react-app": "^3.0.2",
|
|
"babel-runtime": "^6.26.0",
|
|
"case-sensitive-paths-webpack-plugin": "^2.1.1",
|
|
"chalk": "^2.1.0",
|
|
"css-loader": "^0.28.7",
|
|
"dotenv": "^4.0.0",
|
|
"enzyme": "^2.9.1",
|
|
"eslint": "^4.6.1",
|
|
"eslint-config-react-app": "^2.0.0",
|
|
"eslint-config-standard": "^10.2.1",
|
|
"eslint-config-standard-jsx": "^4.0.2",
|
|
"eslint-loader": "^1.9.0",
|
|
"eslint-plugin-flowtype": "^2.35.1",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-jsx-a11y": "^5.1.1",
|
|
"eslint-plugin-node": "^5.1.1",
|
|
"eslint-plugin-promise": "^3.5.0",
|
|
"eslint-plugin-react": "^7.3.0",
|
|
"eslint-plugin-standard": "^3.0.1",
|
|
"eslint-watch": "^3.1.2",
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
|
"file-loader": "^0.11.2",
|
|
"fs-extra": "^4.0.1",
|
|
"gh-pages": "^1.0.0",
|
|
"html-webpack-plugin": "^2.30.1",
|
|
"jest": "^20.0.4",
|
|
"nock": "^9.0.14",
|
|
"node-sass-chokidar": "^0.0.3",
|
|
"object-assign": "^4.1.1",
|
|
"postcss-flexbugs-fixes": "^3.2.0",
|
|
"postcss-loader": "^2.0.6",
|
|
"promise": "^8.0.1",
|
|
"react-test-renderer": "^15.6.1",
|
|
"sass-loader": "^6.0.6",
|
|
"style-loader": "^0.18.2",
|
|
"sw-precache-webpack-plugin": "^0.11.4",
|
|
"url-loader": "^0.5.9",
|
|
"webpack": "^3.5.5",
|
|
"webpack-dev-server": "^2.7.1",
|
|
"webpack-manifest-plugin": "^1.3.1",
|
|
"whatwg-fetch": "^2.0.3"
|
|
},
|
|
"scripts": {
|
|
"start": "node scripts/start.js",
|
|
"build": "node scripts/build.js",
|
|
"lint": "esw --watch --clear src/ scripts/ config/",
|
|
"test": "node scripts/test.js --env=jsdom",
|
|
"test:coverage": "node scripts/test.js --env=jsdom --coverage",
|
|
"predeploy": "export CI=true || set CI=true && npm run test && esw src/ scripts/ config/ && npm run build",
|
|
"deploy": "gh-pages -d build",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"standard",
|
|
"standard-jsx",
|
|
"plugin:jsx-a11y/recommended"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"rules": {
|
|
"strict": 0,
|
|
"comma-dangle": [
|
|
2,
|
|
"always-multiline"
|
|
],
|
|
"jsx-quotes": [
|
|
"error",
|
|
"prefer-double"
|
|
],
|
|
"no-console": 2
|
|
},
|
|
"globals": {
|
|
"afterEach": true,
|
|
"beforeEach": true,
|
|
"describe": true,
|
|
"expect": true,
|
|
"it": true,
|
|
"jest": true
|
|
},
|
|
"plugins": [
|
|
"jsx-a11y"
|
|
]
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx}"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/config/polyfills.js"
|
|
],
|
|
"testMatch": [
|
|
"<rootDir>/src/**/__tests__/**/*.js?(x)",
|
|
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
|
|
],
|
|
"testEnvironment": "node",
|
|
"testURL": "http://localhost",
|
|
"transform": {
|
|
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
|
|
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^react-native$": "react-native-web"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"web.js",
|
|
"js",
|
|
"json",
|
|
"web.jsx",
|
|
"jsx",
|
|
"node"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"react-app"
|
|
]
|
|
}
|
|
}
|