-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.47 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 2.47 KB
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
{
"name": "begin-project",
"version": "0.4.3",
"description": "Tools for all Beg.in projects",
"engines": {
"node": ">=7.6"
},
"main": "base.js",
"bin": {
"cz": "./cz.js"
},
"scripts": {
"// REFERENCE SCRIPT b": "CONTEXT=$(pwd) npm explore begin-project -- npm run",
"b": "CONTEXT=$(pwd) npm run",
"lint": "npm run --silent lint:error -- ; exit 0",
"lint:error": "eslint --ignore-path $CONTEXT/.gitignore --format=$CONTEXT/node_modules/eslint-formatter-pretty $CONTEXT",
"lint:pug": "pug-lint --reporter $CONTEXT/node_modules/puglint-stylish $CONTEXT/src/",
"test": "cd $CONTEXT; ava test.js */test.js **/test.js",
"test:watch": "npm run test -- -w",
"test:tap": "npm run test -- --tap",
"cz": "./cz.js",
"version:set": "cd $CONTEXT; npm version --git-tag-version=false",
"version:tag": "cd $CONTEXT; git add package.json && git commit -m 'version' && conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git reset --soft HEAD~1 && git commit --amend --no-edit && git tag -a $(node -e \"console.log(require('./package').version)\") -m",
"version:push": "cd $CONTEXT; git push origin $(node -e \"console.log(require('./package').version)\")",
"patch": "npm run version:set patch && npm run version:tag",
"postpatch": "npm run version:push",
"minor": "npm run version:set minor && npm run version:tag",
"postminor": "npm run version:push",
"major": "npm run version:set major && npm run version:tag",
"postmajor": "npm run version:push",
"commit": "(npm run --silent lint:error -- --fix; exit 0) && npm run cz"
},
"repository": "Beg-in/project",
"author": {
"name": "Beg.in",
"email": "info@beg.in",
"url": "http://beg.in"
},
"contributors": [
"Brian Jesse <brian.jesse@gmail.com> (brianjesse.com)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/Beg-in/project/issues"
},
"homepage": "https://github.com/Beg-in/project#readme",
"dependencies": {
"ava": "^2.0.0",
"commitizen": "^3.1.1",
"conventional-changelog-cli": "^2.0.21",
"cz-conventional-changelog": "2.1.0",
"eslint": "^5.6.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-formatter-pretty": "^2.1.1",
"eslint-plugin-ava": "^7.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-security": "1.4.0",
"eslint-plugin-vue": "^5.2.2",
"pug-lint": "^2.5.0",
"pug-lint-config-clock": "2.0.0",
"puglint-stylish": "0.1.1"
}
}