Skip to content

Commit

Permalink
更新配置
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuxian committed Feb 5, 2021
1 parent e780711 commit 9701695
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ build
babel.config.js
prettier.config.js
.eslintrc.json
.eslintignore
.editorconfig

#doc
CONTRIBUTING.md
Expand All @@ -30,3 +32,4 @@ docs
.github
demo
todo
*.tgz
2 changes: 1 addition & 1 deletion build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function build(option) {
try {
build(configFactory({
input: './src/index.js',
fileName: './js-timers.min.js',
fileName: './index.min.js',
}))

await promisify(ncp)(path.join(rootDir,'./types'), './')
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "js-timers",
"version": "0.1.0-beta",
"description": "timer,count-down-timer",
"main": "lib/index.min.js",
"main": "index.min.js",
"module": "es/index.js",
"scripts": {
"babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm",
Expand All @@ -22,7 +22,6 @@
"count-down",
"countdown"
],
"files": [],
"jest": {
"roots": [
"test"
Expand Down

0 comments on commit 9701695

Please sign in to comment.