aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-02-07 00:37:13 -0500
committerDeterminant <ted.sybil@gmail.com>2019-02-07 00:37:13 -0500
commite4651c8d1bc1c416de553428bcfba137ca35ef91 (patch)
treeaff8ce0c5c24d65720b2a6e2195d25afcbe28f89 /package.json
parent13a2bd4f4aee6b4dec0ce799e9ba212693cbedf1 (diff)
use a minimal webpack-based build env
Diffstat (limited to 'package.json')
-rw-r--r--package.json148
1 files changed, 26 insertions, 122 deletions
diff --git a/package.json b/package.json
index 25e2e23..8ee60e1 100644
--- a/package.json
+++ b/package.json
@@ -1,132 +1,36 @@
{
"name": "chromicle",
"version": "0.1.0",
- "private": true,
- "dependencies": {
- "@babel/core": "7.1.6",
- "@material-ui/core": "^3.9.0",
- "@material-ui/icons": "^3.0.2",
- "@svgr/webpack": "2.4.1",
- "babel-core": "7.0.0-bridge.0",
- "babel-eslint": "9.0.0",
- "babel-jest": "23.6.0",
- "babel-loader": "8.0.4",
- "babel-plugin-named-asset-import": "^0.3.0",
- "babel-preset-react-app": "^7.0.0",
- "bfj": "6.1.1",
- "case-sensitive-paths-webpack-plugin": "2.1.2",
- "chalk": "2.4.1",
- "css-loader": "1.0.0",
- "dotenv": "6.0.0",
- "dotenv-expand": "4.2.0",
- "eslint": "5.6.0",
- "eslint-config-react-app": "^3.0.6",
- "eslint-loader": "2.1.1",
- "eslint-plugin-flowtype": "2.50.1",
- "eslint-plugin-import": "2.14.0",
- "eslint-plugin-jsx-a11y": "6.1.2",
- "eslint-plugin-react": "7.11.1",
- "file-loader": "2.0.0",
- "fork-ts-checker-webpack-plugin-alt": "0.4.14",
- "fs-extra": "7.0.0",
- "html-webpack-plugin": "4.0.0-alpha.2",
- "identity-obj-proxy": "3.0.0",
- "jest": "23.6.0",
- "jest-pnp-resolver": "1.0.1",
- "jest-resolve": "23.6.0",
- "lru-cache": "^5.1.1",
- "mini-css-extract-plugin": "0.4.3",
- "moment": "^2.24.0",
- "optimize-css-assets-webpack-plugin": "5.0.1",
- "pnp-webpack-plugin": "1.1.0",
- "postcss-flexbugs-fixes": "4.1.0",
- "postcss-loader": "3.0.0",
- "postcss-preset-env": "6.3.1",
- "postcss-safe-parser": "4.0.1",
- "react": "^16.7.0",
- "react-app-polyfill": "^0.2.0",
- "react-dates": "^18.4.1",
- "react-dev-utils": "^7.0.1",
- "react-dom": "^16.7.0",
- "react-router-dom": "^4.3.1",
- "react-with-direction": "^1.3.0",
- "recharts": "^1.4.2",
- "resolve": "1.8.1",
- "sass-loader": "7.1.0",
- "style-loader": "0.23.0",
- "terser-webpack-plugin": "1.1.0",
- "typeface-roboto": "0.0.54",
- "url-loader": "1.1.1",
- "webpack": "4.19.1",
- "webpack-dev-server": "3.1.14",
- "webpack-manifest-plugin": "2.0.4",
- "workbox-webpack-plugin": "3.6.3"
- },
+ "description": "",
+ "main": "index.js",
"scripts": {
- "start": "node scripts/start.js",
- "build:ui": "node scripts/build.js",
- "build:bg": "node scripts/build",
- "build": "npm run build:ui && npm run build:bg",
- "test": "node scripts/test.js"
- },
- "eslintConfig": {
- "extends": "react-app"
+ "start": "webpack --mode development --watch",
+ "build": "webpack --mode production"
},
- "browserslist": [
- ">0.2%",
- "not dead",
- "not ie <= 11",
- "not op_mini all"
- ],
+ "author": "",
+ "license": "ISC",
"devDependencies": {
+ "@babel/core": "^7.2.2",
+ "@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/preset-env": "^7.3.1",
- "babelify": "^10.0.0",
- "browserify": "^16.2.3"
+ "@babel/preset-react": "^7.0.0",
+ "babel-loader": "^8.0.5",
+ "copy-webpack-plugin": "^4.6.0",
+ "css-loader": "^2.1.0",
+ "html-webpack-plugin": "^3.2.0",
+ "style-loader": "^0.23.1",
+ "url-loader": "^1.1.2",
+ "webpack": "^4.29.2",
+ "webpack-cli": "^3.2.3"
},
- "jest": {
- "collectCoverageFrom": [
- "src/**/*.{js,jsx,ts,tsx}",
- "!src/**/*.d.ts"
- ],
- "resolver": "jest-pnp-resolver",
- "setupFiles": [
- "react-app-polyfill/jsdom"
- ],
- "testMatch": [
- "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
- "<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}"
- ],
- "testEnvironment": "jsdom",
- "testURL": "http://localhost",
- "transform": {
- "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
- "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
- "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
- },
- "transformIgnorePatterns": [
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
- "^.+\\.module\\.(css|sass|scss)$"
- ],
- "moduleNameMapper": {
- "^react-native$": "react-native-web",
- "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
- },
- "moduleFileExtensions": [
- "web.js",
- "js",
- "web.ts",
- "ts",
- "web.tsx",
- "tsx",
- "json",
- "web.jsx",
- "jsx",
- "node"
- ]
- },
- "babel": {
- "presets": [
- "react-app"
- ]
+ "dependencies": {
+ "@material-ui/core": "^3.9.2",
+ "@material-ui/icons": "^3.0.2",
+ "react": "^16.8.1",
+ "react-dates": "^19.0.0",
+ "react-dom": "^16.8.1",
+ "react-router-dom": "^4.3.1",
+ "recharts": "^1.4.2",
+ "typeface-roboto": "0.0.54"
}
}