generated from mmisty/npm-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (56 loc) · 2.69 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
{
"name": "allure-js-parser",
"version": "0.0.0",
"description": "allure-js-parser",
"main": "index.js",
"types": "index.d.ts",
"repository": "[email protected]:mmisty/allure-js-parser.git",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "Taisia Pitko (mmisty) <[email protected]>",
"license": "MIT",
"scripts": {
"test": "CONSOLE=true jest",
"test:cov": "CONSOLE=false jest --coverage",
"lint": "eslint --ext '.js,.ts' . --ignore-path .gitignore",
"prepublish": "npm run test:cov && npm run build",
"build": "rm -rf dist && tsc --project tsconfig.build.json && cp package.json ./dist/package.json && cp README-pack.md ./dist/README.md && sh .scripts/remove.sh && cd dist && npm version $ver --no-git-tag-version ",
"pack": "npm run build && cd dist && npm pack",
"publish": "npm run publish:patch",
"prepublishOnly": "echo 'USE script \"npm run publish:patch\" (or minor/major)\n' && false",
"publishPack": "npm run prepublish && cd dist && npm publish --tag $TAG",
"publish:alpha": "export TAG=alpha && export ver=$(semver $(npm show . version --tag alpha || npm show . version) --increment -i prerelease --preid 'alpha') && npm run publishPack && npm run postpublish",
"publish:alpha:init": "export TAG=alpha && export ver=$(semver $(npm show . version) --increment -i prerelease --preid 'alpha') && npm run publishPack && npm run postpublish",
"publish:patch": "export TAG=latest && export ver=$(semver $(npm show . version) --increment -i patch) && npm run publishPack && npm run postpublish",
"publish:minor": "export TAG=latest && export ver=$(semver $(npm show . version) --increment -i minor) && npm run publishPack && npm run postpublish",
"publish:major": "export TAG=latest && export ver=$(semver $(npm show . version) --increment -i major) && npm run publishPack && npm run postpublish",
"publish:pack": "export TAG=alpha && export ver=\"1.0.3-alpha\" && npm run publishPack && npm run postpublish",
"postpublish": "git tag v$ver",
"fmt": "pretty-quick"
},
"devDependencies": {
"@jest/console": "^29.7.0",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"allure-commandline": "^2.29.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"pretty-quick": "^3.3.1",
"semver": "^7.6.2",
"ts-jest": "^29.1.4",
"tslib": "^2.6.3",
"tsutils": "^3.21.0",
"typescript": "^5.4.5"
},
"dependencies": {
"allure-js-commons": "^2.15.1",
"debug": "^4.3.5",
"fast-glob": "^3.3.2"
}
}