-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
89 lines (89 loc) · 3.53 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"version": "4.2.0",
"directories": {
"test": "test"
},
"scripts": {
"note0": "I dunno why, but tap-spec causes the tests to fail",
"test": "tape test/*.js",
"tdd": "nodemon -q -x npm -i node_modules/ -i test/temp/ -e js,json -- test",
"note1": "we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this",
"prepublish": "in-publish && npm prune && npm run gitPush || in-install",
"note2": "eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local",
"note3": "travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash",
"lint": "eslint .",
"requireGitClean": "/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'",
"nsp": "nsp audit-package",
"note4": "--no-verify skips the commit hook",
"dmn": "dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi",
"doctoc": "doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi",
"gitPull": "git pull --rebase origin master",
"gitPush": "git push --follow-tags --no-verify && git push --tags --no-verify",
"release": "f () { source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm run lint && npm test && npm_release public $@; }; f"
},
"main": "app",
"config": {
"notes": "important to correct the path of npm so that the git hook doesn't error",
"ghooks": {
"pre-commit": "PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint",
"pre-push": "PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test",
"post-merge": "PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install",
"post-rewrite": "PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"
}
},
"license": "Artistic-2.0",
"devDependencies": {
"babel": "^5.8.23",
"babel-eslint": "^4.1.1",
"babel-plugin-closure-elimination": "0.0.1",
"babel-plugin-undefined-to-void": "^1.1.6",
"covert": "^1.1.0",
"dmn": "^1.0.10",
"doctoc": "^0.14.2",
"eslint": "^1.3.1",
"eslint-plugin-react": "^2.7.1",
"ghooks": "^0.3.2",
"glob": "^7.0.0",
"in-publish": "^1.1.1",
"nodemon": "^1.4.1",
"nsp": "^1.1.0",
"tap-spec": "^4.1.0",
"tape": "^4.2.0"
},
"name": "generator-iojs",
"description": "A basic node module template, that includes handy git hooks, a release script, and auto-changelog generation.",
"repository": {
"type": "git",
"url": "https://github.com/joeybaker/generator-iojs.git"
},
"keywords": [
"yeoman-generator",
"git hooks",
"npm release",
"scaffold",
"node",
"module",
"cli"
],
"author": "Joey Baker <[email protected]> (https://byjoeybaker.com)",
"bugs": {
"url": "https://github.com/joeybaker/generator-iojs/issues"
},
"homepage": "https://github.com/joeybaker/generator-iojs",
"dependencies": {
"fullname": "^1.1.1",
"lodash": "^3.10.1",
"mkdirp": "^0.5.1",
"npm-name": "^1.1.1",
"update-notifier": "^0.5.0",
"username": "^1.0.0",
"yeoman-generator": "^0.20.3"
},
"files": [
"app"
],
"engines": {
"node": "^0.10.0",
"npm": "^2.0.0"
}
}