Skip to content

Commit

Permalink
feat!: module exports
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 23, 2021
1 parent 1bb7c78 commit 42df406
Show file tree
Hide file tree
Showing 2 changed files with 1,866 additions and 3,988 deletions.
21 changes: 13 additions & 8 deletions package.json
Expand Up @@ -2,30 +2,35 @@
"name": "defu",
"version": "3.2.2",
"description": "Recursively assign default properties. Lightweight and Fast!",
"repository": "nuxt-contrib/defu",
"repository": "unjs/defu",
"license": "MIT",
"exports": {
".": {
"require": "./dist/defu.js",
"module": "./dist/defu.mjs"
}
},
"main": "./dist/defu.js",
"module": "./dist/defu.mjs",
"types": "./dist/defu.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "bili src/defu.ts",
"build": "siroc build",
"lint": "eslint --ext .ts src",
"prepublish": "yarn build",
"release": "yarn test && yarn build && standard-version && git push --follow-tags && npm publish",
"prepack": "yarn build",
"release": "yarn test && standard-version && git push --follow-tags && npm publish",
"test": "yarn lint && yarn jest"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
"@types/jest": "latest",
"@types/node": "latest",
"bili": "^5.0.5",
"eslint": "latest",
"expect-type": "^0.8.0",
"expect-type": "latest",
"jest": "latest",
"rollup-plugin-typescript2": "^0.29.0",
"siroc": "^0.4.0",
"siroc": "latest",
"standard-version": "latest",
"ts-jest": "latest",
"typescript": "latest"
Expand Down

0 comments on commit 42df406

Please sign in to comment.