-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.47 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.47 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@thencc/dapi-lib",
"version": "0.0.16",
"type": "module",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/**"
],
"repository": {
"type": "git",
"url": "https://github.com/thencc/dapi-lib.git"
},
"scripts": {
"build": "rm -rf dist/; tsc",
"test": "NODE_ENV=purestake NODE_OPTIONS=--experimental-vm-modules npx jest --runInBand",
"test:sandbox": "NODE_ENV=sandbox jest",
"reschema": "docker build --progress plain --tag docker-autodocs --build-arg GIT_ACCESS_TOKEN=${GIT_ACCESS_TOKEN} --build-arg CACHEBUST=$(date +%s) .; npm run docker-docs:run; npm run docker-docs:js-sdk",
"preview-docs": "ts-node-esm --files ./src/generateDocs.ts; redocly preview-docs ./src/output/swagger.yaml",
"build-docs": "ts-node-esm --files ./src/generateDocs.ts; redocly build-docs ./src/output/swagger.yaml",
"generate-types": "npx openapi-typescript ./src/output/openapi3.json -o ./src/js-sdk/schema.d.ts",
"docker-docs:build": "docker build --progress plain --tag docker-autodocs .",
"docker-docs:run": "docker stop extract; docker rm extract; docker run --name extract -d docker-autodocs:latest tail -f /dev/null; rm -rf ./output; docker cp extract:/autodoc/ncc-dapis/src/dapis/output ./output; docker cp extract:/autodoc/ncc-dapis/redoc-static.html ./output/index.html",
"docker-docs:js-sdk": "npx openapi-typescript ./output/openapi3.yaml -o src/schema.ts"
},
"dependencies": {
"@babel/types": "^7.18.13",
"@thencc/algonautjs": "^0.3.58",
"vite": "^4.4.4"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"@typescript-eslint/parser": "^5.30.7",
"dotenv": "^16.0.0",
"esbuild": "^0.14.27",
"eslint": "^8.20.0",
"eslint-plugin-vue": "^8.0.3",
"jest": "^29.5.0",
"prettier": "^2.5.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.4"
},
"prettier": {
"singleQuote": true,
"useTabs": true,
"tabWidth": 2,
"semi": true,
"trailingComma": "none"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"parser": "@typescript-eslint/parser"
},
"globals": {
"Stream": true
},
"rules": {
"quotes": [
"warn",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": false
}
],
"indent": "off",
"semi": [
"warn",
"always"
],
"no-any": 0,
"no-unused-vars": "warn",
"vue/no-v-model-argument": "off"
}
}
}