Skip to content

Commit

Permalink
[chore] don't use typings, not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
brianloveswords committed May 15, 2018
1 parent 5ef4c8c commit 5a65f06
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 2,599 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"name": "base64url",
"version": "2.0.0",
"version": "3.0.0",
"description": "For encoding to/from base64urls",
"main": "index.js",
"typings": "dist/base64url.d.ts",
"files": [
"dist/",
"typings/",
"index.js"
],
"scripts": {
"build": "tsc",
"clean": "rm -f dist/*",
"test": "npm run clean && npm run build && tap test/*.test.js",
"prepublish": "npm run test"
"prepublishOnly": "npm run test"
},
"repository": {
"type": "git",
Expand All @@ -27,6 +25,7 @@
"license": "MIT",
"readmeFilename": "README.md",
"devDependencies": {
"@types/node": "^10.0.0",
"tap": "6.1.1"
}
}
2 changes: 0 additions & 2 deletions src/base64url.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="../typings/index.d.ts" />

import padString from "./pad-string";

function encode(input: string | Buffer, encoding: string = "utf8"): string {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"outDir": "./dist",
"removeComments": true,
"strictNullChecks": true,
"target": "es5"
"target": "es6"
},
"files": [
"./src/base64url.ts"
Expand Down
5 changes: 0 additions & 5 deletions typings.json

This file was deleted.

Loading

0 comments on commit 5a65f06

Please sign in to comment.