Skip to content

Commit

Permalink
fix(pkg): use siroc build
Browse files Browse the repository at this point in the history
optional chaining is node 14+
  • Loading branch information
pi0 committed Jan 17, 2021
1 parent be49bb3 commit ec85042
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 21 deletions.
5 changes: 0 additions & 5 deletions bin/mkdist.js

This file was deleted.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
"repository": "nuxt-contrib/mkdist",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"bin": {
"mkdist": "./bin/mkdist.js"
"mkdist": "./dist/cli.js"
},
"files": [
"bin",
"dist"
],
"scripts": {
"build": "yarn mkdist --format cjs",
"build": "siroc build",
"dev": "yarn mkdist test/fixture",
"lint": "eslint --ext .ts .",
"mkdist": "jiti src/cli",
Expand All @@ -40,6 +38,7 @@
"@types/node": "latest",
"eslint": "latest",
"jest": "latest",
"siroc": "latest",
"standard-version": "latest",
"ts-jest": "latest",
"typescript": "latest"
Expand Down
Loading

0 comments on commit ec85042

Please sign in to comment.