transpiled npm package
This commit is contained in:
parent
5bcfa67635
commit
ad99560a92
|
@ -5,3 +5,4 @@ npm-debug.log
|
|||
*.crx
|
||||
*.pem
|
||||
package-lock.json
|
||||
dist
|
||||
|
|
12
.npmignore
12
.npmignore
|
@ -1,10 +1,2 @@
|
|||
.vs
|
||||
.idea
|
||||
./node_modules
|
||||
npm-debug.log
|
||||
*.crx
|
||||
*.pem
|
||||
package-lock.json
|
||||
# more
|
||||
*.sln
|
||||
.editorconfig
|
||||
tsconfig.json
|
||||
src
|
||||
|
|
15
package.json
15
package.json
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
export enum BrowserType {
|
||||
Chrome = 2,
|
||||
Firefox = 3,
|
||||
Opera = 4,
|
||||
Edge = 5,
|
||||
Vivaldi = 19,
|
||||
Safari = 20,
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
export enum FieldType {
|
||||
Text = 0,
|
||||
Hidden = 1,
|
||||
Boolean = 2,
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
export enum SecureNoteType {
|
||||
Generic = 0,
|
||||
}
|
|
@ -1,2 +1,2 @@
|
|||
export { BrowserType } from './enums/browserType.enum';
|
||||
export { CipherType } from './enums/cipherType.enum';
|
||||
export { EncryptionType } from './enums/encryptionType.enum';
|
||||
|
|
|
@ -3,12 +3,10 @@
|
|||
"noImplicitAny": true,
|
||||
"module": "es6",
|
||||
"target": "ES2016",
|
||||
"allowJs": true,
|
||||
"sourceMap": true,
|
||||
"types": [
|
||||
]
|
||||
"declaration": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue