transpiled npm package

This commit is contained in:
Kyle Spearrin 2018-01-05 22:46:51 -05:00
parent 5bcfa67635
commit ad99560a92
8 changed files with 12 additions and 44 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ npm-debug.log
*.crx
*.pem
package-lock.json
dist

View File

@ -1,10 +1,2 @@
.vs
.idea
./node_modules
npm-debug.log
*.crx
*.pem
package-lock.json
# more
*.sln
.editorconfig
tsconfig.json
src

View File

@ -1,17 +1,10 @@
{
"name": "@bitwarden/jslib",
"version": "0.0.3",
"scripts": {
},
"main": "src/index.ts",
"version": "0.0.5",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"tslint": "^5.8.0",
"typescript": "^2.6.2"
},
"dependencies": {
"@types/node-forge": "0.7.1",
"@types/webcrypto": "0.0.28",
"node-forge": "0.7.1"
"typescript": "^2.5.3"
}
}

View File

@ -1,8 +0,0 @@
export enum BrowserType {
Chrome = 2,
Firefox = 3,
Opera = 4,
Edge = 5,
Vivaldi = 19,
Safari = 20,
}

View File

@ -1,5 +0,0 @@
export enum FieldType {
Text = 0,
Hidden = 1,
Boolean = 2,
}

View File

@ -1,3 +0,0 @@
export enum SecureNoteType {
Generic = 0,
}

View File

@ -1,2 +1,2 @@
export { BrowserType } from './enums/browserType.enum';
export { CipherType } from './enums/cipherType.enum';
export { EncryptionType } from './enums/encryptionType.enum';

View File

@ -3,12 +3,10 @@
"noImplicitAny": true,
"module": "es6",
"target": "ES2016",
"allowJs": true,
"sourceMap": true,
"types": [
]
"declaration": true,
"outDir": "./dist"
},
"exclude": [
"node_modules"
"include": [
"src/**/*"
]
}