Browse Source

transpiled npm package

pull/1/head
Kyle Spearrin 8 years ago
parent
commit
ad99560a92
  1. 1
      .gitignore
  2. 12
      .npmignore
  3. 15
      package.json
  4. 8
      src/enums/browserType.enum.ts
  5. 5
      src/enums/fieldType.enum.ts
  6. 3
      src/enums/secureNoteType.enum.ts
  7. 2
      src/index.ts
  8. 10
      tsconfig.json

1
.gitignore vendored

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

12
.npmignore

@ -1,10 +1,2 @@ @@ -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

@ -1,17 +1,10 @@ @@ -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"
}
}

8
src/enums/browserType.enum.ts

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

5
src/enums/fieldType.enum.ts

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

3
src/enums/secureNoteType.enum.ts

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

2
src/index.ts

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

10
tsconfig.json

@ -3,12 +3,10 @@ @@ -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…
Cancel
Save