Skip to content

Commit

Permalink
chore: et environment variables using cross-env
Browse files Browse the repository at this point in the history
  • Loading branch information
cherishs001 committed Jul 6, 2023
1 parent cb381be commit ddc3222
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clean": "rimraf lib esm dist",
"build:types": "tsc -p tsconfig.build.json && cpr lib esm",
"build": "pnpm clean && pnpm build:types && gulp",
"dev": "NODE_ENV=development webpack serve --history-api-fallback --config webpack.dev.ts",
"dev": "cross-env NODE_ENV=development webpack serve --history-api-fallback --config webpack.dev.ts",
"lint": "eslint --ext .tsx --ext .ts ./ && prettier --check ./",
"lint:fix": "eslint --ext .tsx --ext .ts ./ --fix && prettier --write ./"
},
Expand All @@ -37,6 +37,7 @@
"@typescript-eslint/parser": "^5.59.8",
"clean-webpack-plugin": "^4.0.0",
"cpr": "^3.0.1",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"csstype": "^3.1.2",
"cz-conventional-changelog": "^3.3.0",
Expand Down
16 changes: 15 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ddc3222

Please sign in to comment.