-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.28 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
{
"name": "@portive/api-client",
"version": "7.0.0",
"license": "MIT",
"main": ".dist/src/index.js",
"types": ".dist/src/index.d.ts",
"files": [
".dist/**/*"
],
"dependencies": {
"@portive/api-types": "^6.0.0",
"@portive/jwt-utils": "^1.0.2",
"isomorphic-unfetch": "^3.1.0",
"jsonwebtoken": "^8.5.1",
"just-pick": "^4.0.1"
},
"devDependencies": {
"@types/jest": "^27",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^17.0.27",
"@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",
"fetch-mock": "^9.11.0",
"fetch-mock-jest": "^1.5.1",
"jest": "^27",
"prettier": "^2",
"ts-jest": "^27",
"ts-node": "^10.7.0",
"tsc": "^2.0.4",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.6.3"
},
"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 build:npm:once && yarn publish || echo '\"npm publish --access=public\" to publish to npm'",
"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"
}
}