Skip to content
Permalink
Browse files

use @types/node for typings

This re-exports the types from @types/node as the types for this
package. This dosen't ensure that they remain the same but does
allow for easier use for users downstream.

This also adds some missing dev deps
  • Loading branch information
Toxicable committed Nov 9, 2019
1 parent bc31bda commit e21021aac8a815f751966f8a05c919e03a1bacd5
Showing with 3,439 additions and 60 deletions.
  1. +1 −0 index.d.ts
  2. +7 −1 package.json
  3. +3,431 −59 yarn.lock
@@ -0,0 +1 @@
export * from 'url';
@@ -5,6 +5,7 @@
"source": "src/index.js",
"main": "dist/index.js",
"module": "dist/index.mjs",
"typings": "index.d.ts",
"scripts": {
"build": "microbundle",
"test:browser": "karmatic",
@@ -17,6 +18,9 @@
"dependencies": {
"querystring": "^0.2.0"
},
"peerDependencies": {
"@types/node": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GoogleChromeLabs/native-url.git"
@@ -41,9 +45,11 @@
"devDependencies": {
"husky": "^3.0.5",
"jest": "^24.9.0",
"karmatic": "^1.4.0",
"lint-staged": "^9.2.5",
"microbundle": "^0.11.0",
"prettier": "^1.18.2"
"prettier": "^1.18.2",
"webpack": "^4.41.2"
},
"lint-staged": {
"{src,tests}/**/*.js": [

0 comments on commit e21021a

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