-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
24 lines (24 loc) · 964 Bytes
/
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
{
"name": "@pkgjs/action",
"private": true,
"version": "0.1.9",
"description": "Github Actions tooling for testing Node.js packages",
"scripts": {
"lint": "[ \"$NODE_LTS_LATEST\" != \"\" ] && [ \"$MATRIX_NODE_VERSION\" != \"$NODE_LTS_LATEST\" ] && echo 'Skipping linting' || npx -- eslint .github",
"test": "for PRIVATE_ACTION in .github/actions/*/; do cd ${INIT_CWD}/${PRIVATE_ACTION} && npm test || exit 1; done && cd ${INIT_CWD} && npm run lint",
"version": "sed -i.bak \"s/\\(uses: pkgjs\\/action.*\\)\\(@.*\\)$/\\1@v$npm_package_version/g\" .github/workflows/node-test.yaml; rm .github/workflows/node-test.yaml.bak; git diff; git add .github/workflows/node-test.yaml"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pkgjs/action.git"
},
"author": "@pkgjs",
"license": "MIT",
"engines": {
"node": "^20"
},
"devDependencies": {
"@hapi/eslint-plugin": "^6.0.0",
"eslint": "^8.0.0"
}
}