kopia lustrzana https://github.com/robinmoisson/staticrypt
improve prettier support, add pre-commmit hook
rodzic
3dd49f054b
commit
70c11b4036
|
@ -0,0 +1 @@
|
|||
npx lint-staged
|
|
@ -0,0 +1,4 @@
|
|||
node_modules
|
||||
example/encrypted
|
||||
package-lock.json
|
||||
index.html
|
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"printWidth": 120,
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"tabWidth": 4,
|
||||
"trailingComma": "es5",
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.{js,html}",
|
||||
"options": {
|
||||
"proseWrap": "preserve"
|
||||
}
|
||||
}
|
||||
]
|
||||
"printWidth": 120,
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"tabWidth": 4,
|
||||
"trailingComma": "es5",
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.{js,html}",
|
||||
"options": {
|
||||
"proseWrap": "preserve"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Plik diff jest za duży
Load Diff
113
package.json
113
package.json
|
@ -1,54 +1,63 @@
|
|||
{
|
||||
"name": "staticrypt",
|
||||
"version": "3.5.0",
|
||||
"description": "Password protect a static HTML file without a backend - StatiCrypt uses AES-256 wiht WebCrypto to encrypt your input with your long password and put it in a HTML file with a password prompt that can decrypted in-browser (client side).",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"/cli",
|
||||
"/lib"
|
||||
],
|
||||
"bin": {
|
||||
"staticrypt": "./cli/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"dotenv": "^16.0.3",
|
||||
"yargs": ">=10.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/robinmoisson/staticrypt?sponsor=1"
|
||||
},
|
||||
"author": "Robin Moisson (https://github.com/robinmoisson)",
|
||||
"contributors": [
|
||||
"Aaron Coplan (https://github.com/AaronCoplan)",
|
||||
"Adam Hull (https://github.com/hurrymaplelad)"
|
||||
],
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "bash ./scripts/build.sh"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/robinmoisson/staticrypt.git"
|
||||
},
|
||||
"keywords": [
|
||||
"static",
|
||||
"html",
|
||||
"password",
|
||||
"protected",
|
||||
"encrypted",
|
||||
"encryption",
|
||||
"crypto",
|
||||
"webcrypto"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/robinmoisson/staticrypt/issues"
|
||||
},
|
||||
"homepage": "https://github.com/robinmoisson/staticrypt",
|
||||
"devDependencies": {
|
||||
"prettier": "^2.8.7"
|
||||
}
|
||||
"name": "staticrypt",
|
||||
"version": "3.5.0",
|
||||
"description": "Password protect a static HTML file without a backend - StatiCrypt uses AES-256 wiht WebCrypto to encrypt your input with your long password and put it in a HTML file with a password prompt that can decrypted in-browser (client side).",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"/cli",
|
||||
"/lib"
|
||||
],
|
||||
"bin": {
|
||||
"staticrypt": "./cli/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"dotenv": "^16.0.3",
|
||||
"yargs": ">=10.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/robinmoisson/staticrypt?sponsor=1"
|
||||
},
|
||||
"author": "Robin Moisson (https://github.com/robinmoisson)",
|
||||
"contributors": [
|
||||
"Aaron Coplan (https://github.com/AaronCoplan)",
|
||||
"Adam Hull (https://github.com/hurrymaplelad)"
|
||||
],
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "bash ./scripts/build.sh",
|
||||
"format": "prettier --write \"**/*.{js,json,html}\"",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.{js,json,html}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/robinmoisson/staticrypt.git"
|
||||
},
|
||||
"keywords": [
|
||||
"static",
|
||||
"html",
|
||||
"password",
|
||||
"protected",
|
||||
"encrypted",
|
||||
"encryption",
|
||||
"crypto",
|
||||
"webcrypto"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/robinmoisson/staticrypt/issues"
|
||||
},
|
||||
"homepage": "https://github.com/robinmoisson/staticrypt",
|
||||
"devDependencies": {
|
||||
"husky": "^9.1.6",
|
||||
"lint-staged": "^15.2.10",
|
||||
"prettier": "^2.8.8"
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue