-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.41 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "ymlr",
"version": "1.2.7-alpha.0",
"description": "A platform helps to do everythings base on a yaml script file",
"main": "src/index.js",
"types": "src/index.d.ts",
"bin": {
"ymlr": "./bin/cli.js"
},
"files": [
"src",
"bin"
],
"preferGlobal": true,
"devDependencies": {
"@types/jest": "^29.2.1",
"@types/js-yaml": "^4.0.5",
"@types/koa": "^2.13.5",
"@types/lodash.debounce": "^4.0.9",
"@types/lodash.merge": "^4.6.7",
"@types/lodash.throttle": "^4.1.9",
"@types/lodash.toplainobject": "^4.2.7",
"@types/node": "^18.11.9",
"@types/prompts": "^2.4.1",
"@types/spinnies": "^0.5.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"eslint": "^8.49.0",
"eslint-config-standard-with-typescript": "^39.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.3.1",
"jest-mock-server": "^0.1.0",
"koa": "^2.14.1",
"koa-body": "^6.0.1",
"nodemon": "^2.0.20",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^5.2.2"
},
"scripts": {
"v:next": "yarn ci:test && yarn doc && yarn ci:build && node dist -e preid=alpha -e VERSIONNAME=prerelease -- ./scripts/up-version.yaml",
"v:patch": "yarn ci:test && yarn doc && yarn ci:build && node dist -e preid=latest -e VERSIONNAME=patch -- ./scripts/up-version.yaml",
"clean": "rm -rf dist",
"doc": "yarn start ./scripts/doc.yaml",
"start": "node --require ts-node/register src/index.ts",
"dev": "nodemon --require ts-node/register --inspect-brk src/index.ts",
"test": "node --trace-warnings --expose-gc --inspect-brk node_modules/jest/bin/jest --config=.jest/dev.config.js --runInBand",
"lint": "eslint --fix --ext .ts ./src",
"ci:merge": "yarn start ./scripts/merge-code.yaml",
"ci:prebuild": "yarn clean",
"ci:build": "yarn ci:prebuild && tsc --project tsconfig.build.json && node bin/tsconfig && yarn ci:postbuild",
"ci:build:dev": "tsc --project tsconfig.build.json && node bin/tsconfig && yarn ci:postbuild",
"ci:postbuild": "cp src/package.json ./dist/src/ && cp README.md ./dist/",
"ci:pretest": "yarn ci:lint && yarn ci:build && rm -rf src/node_modules",
"ci:test": "yarn ci:pretest && yarn jest --config=.jest/config.js && yarn ci:posttest",
"ci:posttest": "yarn clean",
"ci:tag": "yarn start ./scripts/create-tag.yaml",
"ci:lint": "eslint --ext .ts ./src",
"ci:publish": "yarn ci:build && cd ./dist && yarn publish --no-git-checks && cd ../",
"ci:release": "yarn start ./scripts/create-release.yaml",
"ci:trigger": "yarn start ./scripts/trigger-vscode.yaml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/circle2jt/ymlr.git"
},
"keywords": [
"runner",
"yaml runner",
"cli"
],
"author": "circle2jt@gmail.com",
"license": "ISC",
"bugs": {
"url": "https://github.com/circle2jt/ymlr/issues"
},
"homepage": "https://github.com/circle2jt/ymlr#readme",
"dependencies": {
"axios": "^1.3.4",
"chalk": "^4.1.2",
"commander": "^9.4.1",
"form-data": "^4.0.0",
"js-yaml": "^4.1.0",
"lodash.debounce": "^4.0.8",
"lodash.merge": "^4.6.2",
"lodash.throttle": "^4.1.1",
"lodash.toplainobject": "^4.2.0",
"prompts": "^2.4.2",
"xml2js": "^0.5.0"
},
"publishConfig": {
"access": "public",
"tag": "<PUBLISH.TAG>"
}
}