Skip to content

Commit

Permalink
Update npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqu committed Jan 22, 2021
1 parent 5bdb902 commit 96a4ea8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "./dist/index",
"scripts": {
"test": "jest",
"build": "tsc && copyfiles -u 1 src/template/** dist/",
"copy-templates": "copyfiles -u 1 src/template/** dist/",
"build:dev": "npm run build -- --sourceMap",
"build": "rimraf dist/ && npm run copy-templates && tsc",
"lint": "eslint --ext .js,.ts .",
"prepare": "npm run build"
},
Expand Down Expand Up @@ -39,6 +41,7 @@
"husky": "^4.2.5",
"jest": "^26.1.0",
"prop-types": "^15.7.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.3",
"typescript": "^3.9.7"
},
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"module": "commonjs",
"outDir": "dist",
"declaration": true,
"sourceMap": true,
"strict": true,
"noImplicitAny": true,
"noUnusedLocals": true,
Expand Down

0 comments on commit 96a4ea8

Please sign in to comment.