Skip to content

Commit 92aa697

Browse files
committed
first commit
0 parents  commit 92aa697

13 files changed

Lines changed: 1411 additions & 0 deletions

.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# build output
2+
dist/
3+
build/
4+
5+
# cache files
6+
.cache/
7+
tsbuildinfo.tsbuildinfo
8+
*.tsbuildinfo
9+
10+
# dependencies
11+
node_modules/
12+
13+
# logs
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
pnpm-debug.log*
18+
19+
# environment
20+
.env
21+
.env.*.local
22+
23+
# editor leftovers
24+
.DS_Store
25+
Thumbs.db
26+
27+
# IDE / editors
28+
.vscode/
29+
.idea/
30+
*.swp
31+
*.swo
32+
33+
# tests & coverage
34+
coverage/
35+
coverage-final.json
36+
nyc_output/
37+
38+
# misc
39+
*.local
40+
*.tmp
41+
*.log

package.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "patcode",
3+
"version": "1.0.0",
4+
"description": "Human-friendly numeric pattern codes for OTP, SMS, 2FA, etc.",
5+
"author": {
6+
"name": "TeaCoder",
7+
"url": "https://teaocder.ru"
8+
},
9+
"license": "UNLICENSED",
10+
"main": "./dist/index.cjs",
11+
"module": "./dist/index.mjs",
12+
"types": "./dist/index.d.ts",
13+
"exports": {
14+
".": {
15+
"types": "./dist/index.d.ts",
16+
"import": "./dist/index.mjs",
17+
"require": "./dist/index.cjs"
18+
}
19+
},
20+
"sideEffects": false,
21+
"files": [
22+
"dist"
23+
],
24+
"scripts": {
25+
"clean": "rm -rf dist",
26+
"build": "tsup"
27+
},
28+
"keywords": [
29+
"otp",
30+
"code",
31+
"pin",
32+
"pattern",
33+
"sms",
34+
"2fa"
35+
],
36+
"devDependencies": {
37+
"tsup": "^8.0.0",
38+
"typescript": "^5.6.0"
39+
}
40+
}

0 commit comments

Comments
 (0)