136 lines
4.3 KiB
JSON
136 lines
4.3 KiB
JSON
{
|
|
"name": "minimal-webpack-react",
|
|
"version": "2.0.0",
|
|
"description": "Boilerplate for react and webpack",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "cross-env NODE_ENV=development webpack-dev-server --open",
|
|
"build": "cross-env NODE_ENV=production webpack",
|
|
"format": "prettier --write 'packages/**/*.js'",
|
|
"test": "jest --watchAll --coverage",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,css,md}": [
|
|
"prettier --write --single-quote",
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"moduleDirectories": [
|
|
"src",
|
|
"node_modules"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js",
|
|
"\\.(jpg|gif|ttf|eot|svg)$": "<rootDir>/__mocks__/fileMock.js"
|
|
},
|
|
"transform": {
|
|
"^.+\\.(js|jsx)$": "babel-jest",
|
|
".+\\.(css|styl|less|sass|scss)$": "<rootDir>/node_modules/jest-css-modules-transform"
|
|
},
|
|
"setupTestFrameworkScriptFile": "<rootDir>/setupTests.js",
|
|
"moduleFileExtensions": [
|
|
"css",
|
|
"scss",
|
|
"js",
|
|
"json",
|
|
"jsx"
|
|
]
|
|
},
|
|
"repository": "https://github.com/HashemKhalifa/webpack-react-boilerplate",
|
|
"author": "HashemKhalifa",
|
|
"license": "ISC",
|
|
"private": false,
|
|
"engines": {
|
|
"node": ">=8",
|
|
"npm": ">=3"
|
|
},
|
|
"dependencies": {
|
|
"@babel/plugin-transform-react-constant-elements": "7.2.0",
|
|
"@babel/plugin-transform-react-inline-elements": "7.2.0",
|
|
"@corpetty/status-sticker-market-blog-embed": "https://api.observablehq.com/@corpetty/status-sticker-market-blog-embed.tgz?v=3",
|
|
"@observablehq/runtime": "4",
|
|
"babel-plugin-transform-react-pure-class-to-function": "1.0.1",
|
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
"lodash": "4.17.11",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.8.6",
|
|
"react-dom": "16.8.6",
|
|
"react-hot-loader": "4.8.4",
|
|
"react-latex": "^1.2.0"
|
|
},
|
|
"resolutions": {
|
|
"babel-core": "7.0.0-bridge.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.4.4",
|
|
"@babel/plugin-proposal-class-properties": "7.4.4",
|
|
"@babel/plugin-proposal-decorators": "7.4.4",
|
|
"@babel/plugin-proposal-export-namespace-from": "7.2.0",
|
|
"@babel/plugin-proposal-function-sent": "7.2.0",
|
|
"@babel/plugin-proposal-json-strings": "7.2.0",
|
|
"@babel/plugin-proposal-numeric-separator": "7.2.0",
|
|
"@babel/plugin-proposal-throw-expressions": "7.2.0",
|
|
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
|
"@babel/plugin-syntax-import-meta": "7.2.0",
|
|
"@babel/plugin-transform-runtime": "7.4.4",
|
|
"@babel/polyfill": "7.4.4",
|
|
"@babel/preset-env": "7.4.4",
|
|
"@babel/preset-react": "7.0.0",
|
|
"@babel/register": "7.4.4",
|
|
"@babel/runtime": "7.4.4",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "10.0.1",
|
|
"babel-jest": "24.8.0",
|
|
"babel-loader": "8.0.6",
|
|
"babel-plugin-lodash": "3.3.4",
|
|
"babel-preset-react-optimize": "1.0.1",
|
|
"browserslist": "4.6.0",
|
|
"clean-webpack-plugin": "2.0.2",
|
|
"connect-history-api-fallback": "1.6.0",
|
|
"cross-env": "5.2.0",
|
|
"css-loader": "2.1.1",
|
|
"enzyme": "3.9.0",
|
|
"enzyme-adapter-react-16": "1.13.0",
|
|
"eslint": "5.16.0",
|
|
"eslint-config-airbnb": "17.1.0",
|
|
"eslint-config-prettier": "4.2.0",
|
|
"eslint-loader": "2.1.2",
|
|
"eslint-plugin-import": "2.17.2",
|
|
"eslint-plugin-jest": "22.5.1",
|
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
|
"eslint-plugin-prettier": "3.1.0",
|
|
"eslint-plugin-react": "7.13.0",
|
|
"eslint-watch": "5.1.2",
|
|
"file-loader": "3.0.1",
|
|
"html-webpack-inline-source-plugin": "^0.0.10",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"husky": "2.2.0",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"jest": "24.8.0",
|
|
"jest-css-modules-transform": "2.1.1",
|
|
"jest-enzyme": "7.0.2",
|
|
"jest-fetch-mock": "2.1.2",
|
|
"jsdom": "15.1.0",
|
|
"koa-connect": "2.0.1",
|
|
"lint-staged": "8.1.6",
|
|
"mini-css-extract-plugin": "0.6.0",
|
|
"node-sass": "4.12.0",
|
|
"npm-check-updates": "3.1.9",
|
|
"optimize-css-assets-webpack-plugin": "5.0.1",
|
|
"prettier": "1.17.1",
|
|
"pretty-quick": "1.10.0",
|
|
"sass-loader": "7.1.0",
|
|
"script-ext-html-webpack-plugin": "2.1.3",
|
|
"style-loader": "0.23.1",
|
|
"terser-webpack-plugin": "1.2.3",
|
|
"webpack": "4.31.0",
|
|
"webpack-cli": "3.3.2",
|
|
"webpack-dev-server": "3.3.1",
|
|
"webpack-merge": "4.2.1"
|
|
}
|
|
}
|