Permalink
Browse files

Allso publish types

  • Loading branch information...
evert committed Jun 17, 2018
1 parent 494b680 commit 5e19b31d22dede09847f9385a7b7ac118b3a78f1
Showing with 6 additions and 8 deletions.
  1. +2 −6 Makefile
  2. +1 −0 package.json
  3. +3 −2 tsconfig.json
@@ -7,7 +7,6 @@ build: browser/ketting.min.js browser/mocha-tests.js tsbuild
clean:
-rm -r browser/
-rm -r dist/
-rm -rf node_modules/
.PHONY: test
test: lint
@@ -22,11 +21,11 @@ lint:
eslint src/
.PHONY: tsbuild
tsbuild: node_modules
tsbuild:
tsc
.PHONY: watch
watch: node_modules
watch:
tsc --watch
.PHONY: browserbuild
@@ -42,8 +41,5 @@ browerbuild:
browser/ketting.min.js: browserbuild
browser/mocha-tests.js: browserbuild
node_modules: package-lock.json
npm install
testserver: build
cd test; node testserver.js
@@ -32,6 +32,7 @@
"browser/ketting.min.js",
"browser/ketting.min.js.map"
],
"types": "dist/index.d.ts",
"dependencies": {
"client-oauth2": "^4.2.1",
"cross-fetch": "^2.2.1",
@@ -16,7 +16,6 @@
"sourceMap": true,
"outDir": "dist",
"baseUrl": ".",
"allowJs": true,
"paths": {
"*": [
"src/types/*"
@@ -29,7 +28,9 @@
"ES2016",
"ES2017",
"DOM.Iterable"
]
],
"declaration": true
},
"include": [
"src/**/*"

0 comments on commit 5e19b31

Please sign in to comment.