Skip to content
Permalink
Browse files

feat: bundle node_modules for smaller size

  • Loading branch information...
egoist committed Nov 27, 2018
1 parent 3f075b8 commit 686ef98a8f07cd174b13ebff4fcfa6d204929632
Showing with 1,997 additions and 31 deletions.
  1. +1 −0 .gitignore
  2. +6 −0 bili.config.js
  3. +4 −4 package.json
  4. +1 −1 tsconfig.json
  5. +1,985 −26 yarn.lock
@@ -1,3 +1,4 @@
node_modules
dist
/lib
/types
@@ -0,0 +1,6 @@
module.exports = {
input: 'lib/index.js',
js: false,
inline: true,
filename: 'index.js'
}
@@ -15,7 +15,7 @@
],
"scripts": {
"test": "jest",
"build": "tsc",
"build": "tsc && bili",
"toc": "markdown-toc -i README.md",
"prepublishOnly": "npm run build"
},
@@ -25,22 +25,22 @@
"@types/execa": "^0.9.0",
"@types/jest": "^23.3.9",
"@types/mri": "^1.1.0",
"bili": "^3.4.2",
"cz-conventional-changelog": "^2.1.0",
"eslint-config-rem": "^3.0.0",
"execa": "^1.0.0",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"markdown-toc": "^1.2.0",
"mri": "^1.1.1",
"prettier": "^1.15.2",
"semantic-release": "^15.12.1",
"ts-jest": "^23.10.5",
"ts-node": "^7.0.1",
"typescript": "^3.1.6"
},
"dependencies": {
"mri": "^1.1.1"
},
"dependencies": {},
"release": {
"branch": "master"
},
@@ -19,7 +19,7 @@
"strictFunctionTypes": true,
"alwaysStrict": true,
"module": "commonjs",
"outDir": "dist"
"outDir": "lib"
},
"include": ["src", "declarations.d.ts"]
}

0 comments on commit 686ef98

Please sign in to comment.
You can’t perform that action at this time.