Skip to content

Commit

Permalink
fix tsc task for declaration only build
Browse files Browse the repository at this point in the history
  • Loading branch information
onokumus committed Aug 16, 2021
1 parent 0c357cb commit c92c78a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"css:dev": "sass scss:docs/assets/css",
"css:prod": "sass scss:dist",
"css:min": "sass scss/metismenujs.scss dist/metismenujs.min.css -s compressed",
"build": "npm run lint && npm run js:prod && npm run js:umd:min && npm run js:esm:min && npm run css:prod && npm run css:min",
"lint": "eslint src/*.ts",
"tsc": "tsc -p tsconfig.json --declaration --declarationDir dist/types --outDir dist/modules"
"tsc": "tsc -p tsconfig.json --declaration --declarationDir dist/types --emitDeclarationOnly",
"build": "npm run lint && npm run tsc && npm run js:prod && npm run js:umd:min && npm run js:esm:min && npm run css:prod && npm run css:min"
},
"repository": "onokumus/metismenujs",
"keywords": [
Expand Down

0 comments on commit c92c78a

Please sign in to comment.