-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "@portive/jwt-utils",
"version": "1.0.7",
"description": "JWT Utilities for use with Portive",
"keywords": [
"portive",
"jwt"
],
"license": "MIT",
"files": [
".dist/**/*"
],
"main": ".dist/src/index.js",
"types": ".dist/src/index.d.ts",
"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/jest": "^27",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^18.7.16",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-no-secrets": "^0.8.9",
"eslint-plugin-react": "^7.27.1",
"jest": "^27",
"ts-jest": "^27",
"ts-node": "^10.9.1",
"tsc": "^2.0.4",
"tsconfig-paths": "^4.1.0",
"type-fest": "^2.12.2",
"typescript": "^4.8.3"
},
"dependencies": {
"crypto-js": "^4.1.1",
"jsonwebtoken": "^8.5.1",
"superstruct": "^0.15.4"
},
"scripts": {
"-- preset": "# Run preset from @thesunny/presets",
"preset": "ts-node --project node_modules/@thesunny/presets/tsconfig.ts-node.json node_modules/@thesunny/presets/bin/index.ts",
"--- test": "#",
"test:once": "jest --config=jest.config.js",
"test:watch": "jest --watch --config=jest.fast.config.js",
"test:watch:types": "jest --watch --config=jest.config.js",
"test:clearcache": "jest --clearCache",
"-- fix": "# fix syntax",
"fix:prettier": "yarn lint:prettier --write",
"fix:eslint": "yarn lint:eslint --fix",
"-- lint": "# lint syntax",
"lint": "yarn lint:prettier && yarn lint:eslint && yarn lint:tsc",
"lint:prettier": "prettier --check \"**/*.{css,md,js,jsx,json,ts,tsx}\"",
"lint:eslint": "eslint .",
"lint:tsc": "tsc --build ./ --force",
"--- npm": "# npm package scripts",
"build:npm:once": "rm -rf ./.dist/ && yarn test:once && tsc -p tsconfig.ts-build.json && echo 'Finished Building'",
"build:npm:watch": "rm -rf ./.dist/ && tsc -p tsconfig.ts-build.json --watch",
"publish:npm": "yarn publish:npm:patch",
"publish:npm:patch": "yarn build:npm:once && yarn version --patch && yarn publish --non-interactive || echo '\"npm publish --access=public\" to publish to npm'",
"-- end": "# end"
}
}