1 | {
|
2 | "name": "package-version-git-tag",
|
3 | "version": "1.1.1",
|
4 | "description": "Add Git tag corresponding to the version field of package.json",
|
5 | "keywords": [
|
6 | "cli",
|
7 | "git",
|
8 | "git-tag",
|
9 | "package",
|
10 | "tag",
|
11 | "version"
|
12 | ],
|
13 | "homepage": "https://github.com/sounisi5011/package-version-git-tag#readme",
|
14 | "bugs": {
|
15 | "url": "https://github.com/sounisi5011/package-version-git-tag/issues"
|
16 | },
|
17 | "repository": {
|
18 | "type": "git",
|
19 | "url": "git+https://github.com/sounisi5011/package-version-git-tag.git"
|
20 | },
|
21 | "license": "MIT",
|
22 | "author": "sounisi5011",
|
23 | "files": [
|
24 | "dist/"
|
25 | ],
|
26 | "main": "dist/index",
|
27 | "types": "dist/index.d.ts",
|
28 | "bin": "dist/bin.js",
|
29 | "directories": {
|
30 | "test": "test"
|
31 | },
|
32 | "scripts": {
|
33 | "build": "tsc",
|
34 | "clean": "del ./dist/ ./test/fixtures/{node_modules/,package-lock.json} ./test/tmp/",
|
35 | "fmt-pkg": "run-s fmt-pkg:prettier fmt-pkg:sort",
|
36 | "fmt-pkg:prettier": "prettier-package-json --write ./package.json",
|
37 | "fmt-pkg:sort": "sort-package-json ./package.json",
|
38 | "fmt-ts": "run-s 'lint:eslint -- --fix'",
|
39 | "lint": "run-p lint:*",
|
40 | "lint:eslint": "eslint --ext .ts ./",
|
41 | "lint:tsc-src": "tsc --noEmit",
|
42 | "lint:tsc-test": "tsc -p ./test/ --noEmit",
|
43 | "release": "run-s release:validation release:build release:publish",
|
44 | "release:build": "run-s clean build",
|
45 | "release:publish": "run-s release:publish:git release:publish:npm",
|
46 | "release:publish:git": "node ./dist/bin.js --push",
|
47 | "release:publish:npm": "npm publish --access=public",
|
48 | "release:validation": "npm-run-all release:validation:publishable -p 'release:validation:!(publishable)' test",
|
49 | "release:validation:git-branch": "git-branch-is master",
|
50 | "release:validation:git-work-dir": "is-git-status-clean",
|
51 | "release:validation:publishable": "can-npm-publish --verbose",
|
52 | "test": "run-s test:peer-deps lint test:ava",
|
53 | "test:ava": "ava",
|
54 | "test:peer-deps": "check-peer-deps"
|
55 | },
|
56 | "husky": {
|
57 | "hooks": {
|
58 | "pre-commit": "lint-staged"
|
59 | }
|
60 | },
|
61 | "lint-staged": {
|
62 | "!(package).json|*.{yaml,yml}": [
|
63 | "prettier --write",
|
64 | "git add"
|
65 | ],
|
66 | "*.ts": [
|
67 | "eslint --fix",
|
68 | "git add"
|
69 | ],
|
70 | "package.json": [
|
71 | "prettier-package-json --write",
|
72 | "sort-package-json",
|
73 | "git add"
|
74 | ]
|
75 | },
|
76 | "dependencies": {
|
77 | "commander": "3.0.1"
|
78 | },
|
79 | "devDependencies": {
|
80 | "@sounisi5011/check-peer-deps": "github:sounisi5011/check-peer-deps",
|
81 | "@types/node": "12.7.3",
|
82 | "@typescript-eslint/eslint-plugin": "2.1.0",
|
83 | "@typescript-eslint/parser": "2.1.0",
|
84 | "ava": "2.3.0",
|
85 | "can-npm-publish": "1.3.1",
|
86 | "del": "5.1.0",
|
87 | "del-cli": "2.0.0",
|
88 | "escape-string-regexp": "2.0.0",
|
89 | "eslint": "6.3.0",
|
90 | "eslint-config-prettier": "6.1.0",
|
91 | "eslint-config-standard": "14.1.0",
|
92 | "eslint-plugin-import": "2.18.2",
|
93 | "eslint-plugin-node": "9.2.0",
|
94 | "eslint-plugin-prettier": "3.1.0",
|
95 | "eslint-plugin-promise": "4.2.1",
|
96 | "eslint-plugin-simple-import-sort": "4.0.0",
|
97 | "eslint-plugin-standard": "4.0.1",
|
98 | "git-branch-is": "3.0.0",
|
99 | "husky": "3.0.5",
|
100 | "is-git-status-clean": "1.0.0",
|
101 | "lint-staged": "9.2.5",
|
102 | "make-dir": "3.0.0",
|
103 | "node-git-server": "0.6.0",
|
104 | "npm-run-all": "4.1.5",
|
105 | "prettier": "1.18.2",
|
106 | "prettier-package-json": "2.1.0",
|
107 | "sort-package-json": "1.22.1",
|
108 | "ts-node": "8.3.0",
|
109 | "typescript": "3.5.3"
|
110 | },
|
111 | "engines": {
|
112 | "node": ">=8.3.0"
|
113 | },
|
114 | "ava": {
|
115 | "files": [
|
116 | "./test/**/*.ts"
|
117 | ],
|
118 | "helpers": [
|
119 | "**/helpers/**/*"
|
120 | ],
|
121 | "compileEnhancements": false,
|
122 | "require": [
|
123 | "ts-node/register/transpile-only"
|
124 | ],
|
125 | "extensions": [
|
126 | "ts"
|
127 | ]
|
128 | }
|
129 | }
|