fix(*): starting webpack dev server (#809)

This commit is contained in:
Nathan Bierema 2021-08-29 16:40:36 +00:00 committed by GitHub
parent f7c45f94b0
commit 2209a648a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@
}, },
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"start": "webpack-dev-server --open" "start": "webpack serve --open"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -25,7 +25,7 @@
"url": "https://github.com/reduxjs/redux-devtools.git" "url": "https://github.com/reduxjs/redux-devtools.git"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server", "start": "webpack serve",
"stats": "webpack --profile --json > stats.json", "stats": "webpack --profile --json > stats.json",
"build:demo": "NODE_ENV=production webpack -p", "build:demo": "NODE_ENV=production webpack -p",
"build": "npm run build:types && npm run build:js", "build": "npm run build:types && npm run build:js",

View File

@ -12,7 +12,7 @@
"url": "https://github.com/reduxjs/redux-devtools.git" "url": "https://github.com/reduxjs/redux-devtools.git"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server --open", "start": "webpack serve --open",
"stats": "NODE_ENV=production webpack --json > dist/stats.json", "stats": "NODE_ENV=production webpack --json > dist/stats.json",
"lint": "eslint . --ext .ts,.tsx", "lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix", "lint:fix": "eslint . --ext .ts,.tsx --fix",

View File

@ -20,7 +20,7 @@
"url": "https://github.com/reduxjs/redux-devtools.git" "url": "https://github.com/reduxjs/redux-devtools.git"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server --hot --env development --env platform=web --progress", "start": "webpack serve --hot --env development --env platform=web --progress",
"build": "npm run build:types && npm run build:js && npm run build:web && npm run build:umd && npm run build:umd:min", "build": "npm run build:types && npm run build:js && npm run build:web && npm run build:umd && npm run build:umd:min",
"build:types": "tsc --emitDeclarationOnly", "build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline", "build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",

View File

@ -29,7 +29,7 @@
"url": "https://github.com/reduxjs/redux-devtools.git" "url": "https://github.com/reduxjs/redux-devtools.git"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server --config demo/config/webpack.config.ts", "start": "webpack serve --config demo/config/webpack.config.ts",
"build": "npm run build:types && npm run build:js", "build": "npm run build:types && npm run build:js",
"build:types": "tsc --emitDeclarationOnly", "build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline", "build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",

View File

@ -22,7 +22,7 @@
"url": "https://github.com/reduxjs/redux-devtools" "url": "https://github.com/reduxjs/redux-devtools"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server --config demo/config/webpack.config.ts", "start": "webpack serve --config demo/config/webpack.config.ts",
"stats": "webpack --profile --json > stats.json", "stats": "webpack --profile --json > stats.json",
"build:demo": "NODE_ENV=production webpack -p", "build:demo": "NODE_ENV=production webpack -p",
"build": "npm run build:types && npm run build:js", "build": "npm run build:types && npm run build:js",

View File

@ -8,7 +8,7 @@
"url": "https://github.com/reduxjs/redux-devtools.git" "url": "https://github.com/reduxjs/redux-devtools.git"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server", "start": "webpack serve",
"lint": "eslint . --ext .ts,.tsx", "lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix", "lint:fix": "eslint . --ext .ts,.tsx --fix",
"type-check": "tsc --noEmit", "type-check": "tsc --noEmit",

View File

@ -12,7 +12,7 @@
"url": "https://github.com/reduxjs/redux-devtools.git" "url": "https://github.com/reduxjs/redux-devtools.git"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server --open", "start": "webpack serve",
"lint": "eslint . --ext .ts,.tsx", "lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix", "lint:fix": "eslint . --ext .ts,.tsx --fix",
"type-check": "tsc --noEmit", "type-check": "tsc --noEmit",

View File

@ -24,7 +24,7 @@
"url": "https://github.com/reduxjs/redux-devtools.git" "url": "https://github.com/reduxjs/redux-devtools.git"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server --open", "start": "webpack serve --open",
"lint": "eslint . --ext .ts,.tsx", "lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix", "lint:fix": "eslint . --ext .ts,.tsx --fix",
"type-check": "tsc --noEmit", "type-check": "tsc --noEmit",