Skip to content

Commit

Permalink
Revamp WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
agarwalmehul committed Jun 27, 2023
1 parent dbbe934 commit 7aee369
Show file tree
Hide file tree
Showing 22 changed files with 4,728 additions and 168 deletions.
17 changes: 17 additions & 0 deletions .compodocrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"include": ["src/**/*.ts"],
"exclude": ["src/test.ts", "src/**/*.spec.ts", "src/app/file-to-exclude.ts"],
"output": "docs",
"name": "JoseCrypto",
"silent": true,
"hideGenerator": true,
"disableSourceCode": true,
"disableInternal": true,
"navTabConfig": [
{
"id": "info",
"label": "Documentation"
}
],
"theme": "gitbook"
}
14 changes: 14 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"globals": {
"React": true,
"google": true,
"mount": true,
"mountWithRouter": true,
"shallow": true,
"shallowWithRouter": true,
"context": true,
"expect": true,
"jsdom": true,
"JSX": true
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ node_modules/
# Generated by Windows
Thumbs.db

# Build
dist/

# Tests
coverage/
profile/
Expand Down
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ coverage/
profile/
reports/
tests/

# Documentation
docs/
.compodocrc.json
61 changes: 61 additions & 0 deletions package copy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"name": "@am92/jose-crypto-subtle",
"version": "2.0.4",
"description": "JOSE Cryptography for Web",
"sideEffects": false,
"types": "dist/index.d.ts",
"module": "dist/index.js",
"main": "dist/index.js",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts"
],
"scripts": {
"compile": "tsc",
"build:clean": "rm -rf ./dist",
"build": "npm-run-all build:clean compile",
"test": "echo 'Error: no test specified'",
"preversion": "npm-run-all build test",
"version": "echo 'Versioning'",
"postversion": "git push && git push --tags && npm run publish:pkg",
"publish:pkg": "npm publish",
"generate:docs": "npx compodoc -p tsconfig.json"
},
"repository": "[email protected]:heliumtank92/am92-jose-crypto-subtle.git",
"homepage": "https://heliumtank92.github.io/am92-jose-crypto-subtle",
"contributors": [
{
"name": "Ankit Gandhi",
"email": "[email protected]",
"url": "https://github.com/ankitgandhi452"
},
{
"name": "Mehul Agarwal",
"email": "[email protected]",
"url": "https://github.com/agarwalmehul"
}
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"keywords": [
"jose",
"encryption",
"decryption",
"rsa",
"rsa2048",
"aes",
"aes256",
"symmetric key",
"asymettric key",
"subtle"
],
"devDependencies": {
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@compodoc/compodoc": "^1.1.21",
"@types/node": "^20.3.2",
"npm-run-all": "^4.1.5",
"typescript": "^5.1.3"
}
}
38 changes: 23 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,27 @@
"name": "@am92/jose-crypto",
"version": "1.1.1",
"description": "JOSE Cryptography",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.mts",
"import": "./src/index.mjs"
}
},
"types": "./types/index.d.mts",
"module": "./src/index.mjs",
"main": "./src/index.mjs",
"sideEffects": false,
"types": "dist/index.d.ts",
"module": "dist/index.js",
"main": "dist/index.js",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts"
],
"scripts": {
"compile": "tsc",
"build:clean": "rm -rf ./dist",
"build": "npm-run-all build:clean compile",
"test": "echo 'Error: no test specified'",
"generate:types": "rm -rf types && npx -p typescript tsc",
"preversion": "pnpm test",
"preversion": "npm-run-all build test",
"version": "echo 'Versioning'",
"postversion": "git push && git push --tags && npm run publish:pkg",
"publish:pkg": "npm publish"
"publish:pkg": "npm publish",
"generate:docs": "npx compodoc -p tsconfig.json"
},
"repository": "[email protected]:heliumtank92/am92-jose-crypto.git",
"homepage": "https://github.com/heliumtank92/am92-jose-crypto#readme",
"homepage": "https://heliumtank92.github.io/am92-jose-crypto",
"contributors": [
{
"name": "Ankit Gandhi",
Expand All @@ -48,5 +49,12 @@
"aes256",
"symmetric key",
"asymettric key"
]
],
"devDependencies": {
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@compodoc/compodoc": "^1.1.21",
"@types/node": "^20.3.2",
"npm-run-all": "^4.1.5",
"typescript": "^5.1.3"
}
}
Loading

0 comments on commit 7aee369

Please sign in to comment.