Skip to content

Commit

Permalink
chore: Support windows environment variables. #14
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 25, 2020
1 parent 03cde7f commit 193b9d3
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions package.json
Expand Up @@ -8,8 +8,8 @@
"scripts": {
"prepare": "npm run build",
"released": "npm run build && npm run doc",
"doc": "ENTRYDIR=website kkt build",
"doc:dev": "ENTRYDIR=website PUBLIC_URL=/ kkt start",
"doc": "cross-env ENTRYDIR=website kkt build",
"doc:dev": "cross-env ENTRYDIR=website PUBLIC_URL=/ kkt start",
"build": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build",
"watch": "npm run types:watch & npm run ts:watch",
"types:build": "tsbb types --sourceRoot src --target ESNEXT",
Expand Down Expand Up @@ -62,6 +62,7 @@
"@uiw/reset.css": "^1.0.3",
"classnames": "^2.2.6",
"compile-less-cli": "^1.3.0",
"cross-env": "^7.0.2",
"kkt": "^5.5.1",
"prismjs": "^1.19.0",
"raw-loader": "^3.1.0",
Expand All @@ -79,11 +80,14 @@
"eslintConfig": {
"extends": "react-app",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}]
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
]
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 193b9d3

Please sign in to comment.