UNPKG

3.28 kBJSONView Raw
1{
2 "version": "2.9.1",
3 "directories": {
4 "test": "test"
5 },
6 "scripts": {
7 "note0": "I dunno why, but tap-spec causes the tests to fail",
8 "test": "tape test/*.js",
9 "tdd": "nodemon -x npm -i node_modules/ -i test/temp/ -e js,json -- test",
10 "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",
11 "prepublish": "in-publish && npm prune && npm run gitPush || in-install",
12 "note2": "eslint will always pull from the global eslintrc file, disable that so that we're only looking at the local",
13 "note3": "travis doesn't play nicely with !#/bin/bash in the script file, so we have to explicitly set bash",
14 "lint": "eslint .",
15 "requireGitClean": "/bin/bash -c 'source ./scripts.sh && git_require_clean_work_tree'",
16 "nsp": "nsp audit-package",
17 "note4": "--no-verify skips the commit hook",
18 "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",
19 "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",
20 "gitPull": "git pull --rebase origin master",
21 "gitPush": "git push --follow-tags --no-verify && git push --tags --no-verify",
22 "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"
23 },
24 "main": "app",
25 "config": {
26 "notes": "important to correct the path of npm so that the git hook doesn't error",
27 "ghooks": {
28 "pre-commit": "PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run lint",
29 "pre-push": "PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm run dmn && npm run doctoc && npm run lint && npm test",
30 "update": "PATH=$PATH:/usr/local/bin:/usr/local/sbin && npm install"
31 }
32 },
33 "license": "Artistic-2.0",
34 "devDependencies": {
35 "covert": "^1.1.0",
36 "dmn": "^1.0.10",
37 "doctoc": "^0.13.0",
38 "eslint": "^0.21.2",
39 "ghooks": "^0.3.2",
40 "in-publish": "^1.1.1",
41 "nodemon": "^1.3.7",
42 "nsp": "^1.0.1",
43 "tap-spec": "^3.0.0",
44 "tape": "^4.0.0"
45 },
46 "name": "generator-iojs",
47 "description": "A basic node module template, that includes handy git hooks, a release script, and auto-changelog generation.",
48 "repository": {
49 "type": "git",
50 "url": "https://github.com/joeybaker/generator-iojs.git"
51 },
52 "keywords": [
53 "yeoman-generator",
54 "git hooks",
55 "npm release",
56 "scaffold",
57 "node",
58 "module",
59 "cli"
60 ],
61 "author": "Joey Baker <joey@byjoeybaker.com> (https://byjoeybaker.com)",
62 "bugs": {
63 "url": "https://github.com/joeybaker/generator-iojs/issues"
64 },
65 "homepage": "https://github.com/joeybaker/generator-iojs",
66 "dependencies": {
67 "fullname": "^1.1.0",
68 "lodash": "^3.9.1",
69 "mkdirp": "^0.5.1",
70 "npm-name": "^1.0.4",
71 "username": "^1.0.0",
72 "yeoman-generator": "^0.20.1"
73 },
74 "files": [
75 "app"
76 ],
77 "engines": {
78 "node": "^0.10.0",
79 "npm": "^2.0.0"
80 }
81}