Skip to content

Commit

Permalink
Copy template files into typescript build
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyuanruo committed May 8, 2020
1 parent 31978a4 commit db6ee5f
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 0 deletions.
146 changes: 146 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint-ts": "eslint --ext .ts --no-eslintrc -c .eslintrc.ts.json --ignore-path .gitignore --fix .",
"lint": "npm run lint-js && npm run lint-ts",
"build": "tsc && webpack --mode production",
"postbuild": "copyfiles -u 1 src/server/views/**/* build",
"start": "node build/server/index.js",
"client-dev": "webpack-dev-server --mode development --host 0.0.0.0 --devtool inline-source-map --hot",
"server-dev": "nodemon --exec 'ts-node --files' src/server/index.ts",
Expand Down Expand Up @@ -89,6 +90,7 @@
"babel-loader": "^8.0.0",
"clean-webpack-plugin": "^0.1.19",
"concurrently": "^4.0.0",
"copyfiles": "^2.2.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.10.1",
Expand Down

0 comments on commit db6ee5f

Please sign in to comment.