forked from GrantBirki/json-yaml-validate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.89 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
{
"name": "json-yaml-validate-action",
"version": "0.0.0",
"private": true,
"description": "A GitHub Action to quickly validate JSON and YAML files in a repository",
"main": "lib/main.js",
"scripts": {
"format": "prettier --write '**/*.js'",
"format-check": "prettier --check '**/*.js'",
"lint": "eslint src/**/*.js",
"package": "ncc build src/main.js -o dist --source-map --license licenses.txt",
"test": "(LOCAL_ACTIONS_CI_TEST=true jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"ci-test": "LOCAL_ACTIONS_CI_TEST=true jest",
"all": "npm run format && npm run lint && npm run package",
"bundle": "npm run format && npm run package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/grantbirki/json-yaml-validate.git"
},
"keywords": [
"actions",
"ci",
"json",
"yaml",
"validate"
],
"author": "Grant Birkinbine",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"ajv": "^8.12.0",
"ajv-formats": "^3.0.1",
"dedent-js": "^1.0.1",
"glob": "^10.3.12",
"yaml": "^2.4.1"
},
"jest": {
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
],
"coverageThreshold": {
"global": {
"lines": 100
}
}
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/preset-env": "^7.24.4",
"@octokit/rest": "^20.1.0",
"@types/node": "^20.12.5",
"@vercel/ncc": "^0.38.1",
"babel-core": "^6.26.3",
"babel-jest": "^28.1.0",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^25.3.2",
"jest": "^27.2.5",
"js-yaml": "^4.1.0",
"make-coverage-badge": "^1.2.0",
"prettier": "2.5.1"
}
}