This commit is contained in:
Nathan Bierema 2021-09-21 21:45:17 -04:00
parent 6a14d29512
commit ff236cd44e
9 changed files with 65 additions and 2 deletions

View File

@ -0,0 +1 @@
dist

View File

@ -0,0 +1,17 @@
module.exports = {
extends: '../../../../eslintrc.ts.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
overrides: [
{
files: ['webpack.config.ts'],
extends: '../../../../eslintrc.ts.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.webpack.json'],
},
},
],
};

View File

@ -19,7 +19,9 @@
"url": "https://github.com/reduxjs/redux-devtools.git"
},
"scripts": {
"start": "webpack serve --open"
"start": "webpack serve --open",
"build": "webpack",
"lint": "eslint . --ext .ts"
},
"dependencies": {
"d3-state-visualizer": "^1.4.0",
@ -32,7 +34,11 @@
"@types/node": "^14.17.17",
"@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"babel-loader": "^8.2.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"fork-ts-checker-webpack-plugin": "^6.3.3",
"html-webpack-plugin": "^5.3.2",
"ts-node": "^10.2.1",

View File

@ -0,0 +1,4 @@
{
"extends": "../../../../tsconfig.base.json",
"include": ["webpack.config.ts"]
}

View File

@ -1 +1,2 @@
demo
lib

View File

@ -0,0 +1 @@
dist

View File

@ -0,0 +1,17 @@
module.exports = {
extends: '../../../eslintrc.ts.react.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
overrides: [
{
files: ['webpack.config.ts'],
extends: '../../../eslintrc.ts.base.json',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.webpack.json'],
},
},
],
};

View File

@ -4,7 +4,9 @@
"version": "0.1.0",
"license": "MIT",
"scripts": {
"start": "webpack serve --open"
"start": "webpack serve --open",
"build": "webpack",
"lint": "eslint . --ext .ts"
},
"dependencies": {
"react": "^16.14.0",
@ -26,7 +28,12 @@
"@types/styled-components": "^5.1.14",
"@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"babel-loader": "^8.2.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.25.3",
"fork-ts-checker-webpack-plugin": "^6.3.3",
"html-webpack-plugin": "^5.3.2",
"ts-node": "^10.2.1",

View File

@ -12409,8 +12409,12 @@ __metadata:
"@types/node": ^14.17.17
"@types/webpack": ^5.28.0
"@types/webpack-dev-server": ^4.1.0
"@typescript-eslint/eslint-plugin": ^4.31.2
"@typescript-eslint/parser": ^4.31.2
babel-loader: ^8.2.2
d3-state-visualizer: ^1.4.0
eslint: ^7.32.0
eslint-config-prettier: ^8.3.0
fork-ts-checker-webpack-plugin: ^6.3.3
html-webpack-plugin: ^5.3.2
map2tree: ^1.5.0
@ -24449,7 +24453,12 @@ fsevents@^1.2.7:
"@types/styled-components": ^5.1.14
"@types/webpack": ^5.28.0
"@types/webpack-dev-server": ^4.1.0
"@typescript-eslint/eslint-plugin": ^4.31.2
"@typescript-eslint/parser": ^4.31.2
babel-loader: ^8.2.2
eslint: ^7.32.0
eslint-config-prettier: ^8.3.0
eslint-plugin-react: ^7.25.3
fork-ts-checker-webpack-plugin: ^6.3.3
html-webpack-plugin: ^5.3.2
react: ^16.14.0