forked from JS-DevTools/npm-publish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.17 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
{
"name": "@jsdevtools/npm-publish",
"description": "Fast, easy publishing to NPM",
"version": "1.4.3",
"keywords": [
"github-action",
"npm",
"publish",
"version",
"bump"
],
"author": {
"name": "James Messinger",
"url": "https://jamesmessinger.com"
},
"license": "MIT",
"homepage": "https://jstools.dev/npm-publish",
"repository": {
"type": "git",
"url": "https://github.com/JS-DevTools/npm-publish.git"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"npm-publish": "bin/npm-publish.js"
},
"files": [
"bin",
"lib"
],
"scripts": {
"clean": "shx rm -rf .nyc_output coverage lib dist",
"lint": "eslint src test",
"build": "npm run build:typescript && npm run build:ncc && npm run build:node_modules",
"build:typescript": "tsc --declaration",
"build:ncc": "ncc build src/action/index.ts --source-map --external semver",
"build:node_modules": "shx mkdir -p dist/node_modules && shx cp -r node_modules/semver dist/node_modules",
"watch": "tsc --watch",
"test": "mocha && npm run lint",
"coverage": "nyc -x test -x dist/sourcemap-register.js node_modules/mocha/bin/mocha",
"upgrade": "npm-check -u && npm audit fix",
"bump": "bump --tag --push --all && git tag -afm v1 v1 && git push --tags --force",
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"
},
"engines": {
"node": ">=10"
},
"devDependencies": {
"@actions/core": "^1.2.6",
"@jsdevtools/chai-exec": "^2.1.1",
"@jsdevtools/eslint-config": "^1.1.4",
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@types/chai": "^4.2.14",
"@types/command-line-args": "^5.0.0",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.19",
"@types/semver": "^7.3.4",
"@types/source-map-support": "^0.5.3",
"@zeit/ncc": "^0.22.3",
"chai": "^4.2.0",
"eslint": "^7.17.0",
"mocha": "^8.2.1",
"npm-check": "^5.9.0",
"nyc": "^15.1.0",
"shx": "^0.3.3",
"typescript": "^4.1.3"
},
"dependencies": {
"@jsdevtools/ez-spawn": "^3.0.4",
"@jsdevtools/ono": "^7.1.3",
"command-line-args": "^5.1.1",
"semver": "^7.3.4"
}
}