-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
147 lines (147 loc) · 5.55 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "atom-coverage",
"version": "0.0.0-semantic-release",
"description": "Add code coverage to your ES6 Atom package.",
"repository": {
"type": "git",
"url": "git+https://github.com/cgalvarez/atom-coverage.git"
},
"author": "Carlos García <cgalvarez.engineer@gmail.com>",
"license": "MIT",
"main": "lib/index.js",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=6.0.0"
},
"bin": {
"atom-coverage": "bin/atom-coverage.js"
},
"directories": {
"lib": "lib"
},
"dependencies": {
"cosmiconfig": "^5.0.2",
"fs-extra": "^6.0.1",
"glob": "^7.1.2",
"is-glob": "^4.0.0",
"joi": "^13.1.3",
"js-yaml": "^3.10.0",
"lodash": "^4.17.5"
},
"devDependencies": {
"@commitlint/cli": "^6.1.2",
"@commitlint/config-conventional": "^6.1.2",
"@commitlint/prompt": "^6.1.2",
"@commitlint/travis-cli": "^6.1.2",
"@semantic-release/npm": "^3.0.2",
"chai": "^4.1.2",
"chokidar-cli": "^1.2.0",
"commitizen": "^2.9.6",
"cross-env": "^5.1.3",
"cz-conventional-changelog": "^2.1.0",
"es6-plato": "^1.0.16",
"eslint": "^4.17.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-chai-expect": "^1.1.1",
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-lodash": "^2.6.1",
"eslint-plugin-mocha": "^5.0.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-smells": "^1.0.1",
"eslint-plugin-you-dont-need-lodash-underscore": "^6.3.1",
"husky": "^0.15.0-rc.8",
"inchjs": "git://github.com/cgalvarez/inchjs#fix/printing-chunks",
"jsonlint": "^1.6.3",
"mocha": "^5.0.0",
"mochawesome": "^3.0.2",
"mock-fs": "^4.5.0",
"npm-run-all": "^4.1.2",
"nyc": "^11.4.1",
"proxyquire": "^2.0.0",
"semantic-release": "^15.4.1",
"sinon": "^5.0.7",
"sinon-chai": "^3.0.0"
},
"peerDependencies": {
"atom-mocha": "^2.0.4",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-preset-env": "^1.6.1",
"nyc": "^11.4.1"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
},
"output": {
"coverage": "coverage",
"reports": ".reports"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "run-s lint:*",
"pre-push": "npm-run-all lint:* test:coverage check:*"
}
},
"scripts": {
"check": "npm-run-all lint:* test:coverage check:*",
"codeclimate": "codeclimate analyze",
"check:coverage": "nyc check-coverage",
"dev:ide": "atom --disable-gpu -d .",
"dev:watch": "chokidar 'bin/**/*.js' 'lib/**/*.js' 'test/**/*.js' '.nycrc.json' 'test/mocha.opts' -c 'reset && yarn run test:coverage; yarn run report:complexity'",
"docs:inchjs:clean": "rm -f ./docs.json",
"docs:inchjs:suggest": "inchjs suggest --all --pedantic && yarn run docs:inchjs:clean",
"docs:inchjs:list": "inchjs list --all && yarn run docs:inchjs:clean",
"docs:inchjs:stats": "inchjs stats --all && yarn run docs:inchjs:clean",
"docs:inchjs:stats:json": "inchjs stats --all --format json && yarn run docs:inchjs:clean",
"docs:inchjs:stats:yaml": "inchjs stats --all --format yaml && yarn run docs:inchjs:clean",
"lint:js": "eslint .",
"lint:json": "eslint .nycrc.json && jsonlint .bithoundrc -c -q",
"postinstall": "node bin/post-install.js",
"report:clean": "rm -rf $npm_package_config_output_reports",
"report:complexity": "es6-plato -q -r -d $npm_package_config_output_reports/complexity lib bin",
"report:open": "run-p report:open:*",
"report:open:complexity": "xdg-open $npm_package_config_output_coverage/complexity/index.html",
"report:open:coverage": "xdg-open $npm_package_config_output_coverage/lcov-report/index.html",
"report:open:tests": "xdg-open $npm_package_config_output_coverage/test/mochawesome.html",
"semantic-commit": "git cz -S",
"test": "yarn run test:scoped ./**/*.{spec,test}.js",
"test:scoped": "cd test && cross-env NODE_ENV=test mocha --opts ./mocha.opts",
"test:unit": "yarn run test:scoped ./1-unit/**/*.{spec,test}.js",
"test:integration": "yarn run test:scoped ./2-integration/**/*.{spec,test}.js",
"test:functional": "yarn run test:scoped ./3-functional/**/*.{spec,test}.js",
"test:acceptance": "yarn run test:scoped ./4-acceptance/**/*.{spec,test}.js",
"test:watch": "cd test && mocha --watch ./**/*.{spec,test}.js --opts ./mocha.opts",
"test:coverage": "run-s test:coverage:clean report:clean && cross-env COVERAGE=true nyc yarn test",
"test:coverage:clean": "rm -rf $npm_package_config_output_coverage/*",
"test:coverage:unit": "yarn run test:coverage:clean && cross-env COVERAGE=true nyc yarn run test:unit",
"test:coverage:integration": "yarn run test:coverage:clean && cross-env COVERAGE=true nyc yarn run test:integration",
"test:coverage:functional": "yarn run test:coverage:clean && cross-env COVERAGE=true nyc yarn run test:functional",
"test:coverage:acceptance": "yarn run test:coverage:clean && cross-env COVERAGE=true nyc yarn run test:acceptance",
"test:coverage:watch": "yarn run test:coverage:clean && chokidar 'lib/**/*.js' 'test/**/*.js' -c 'reset && cross-env COVERAGE=true yarn run test:coverage'"
},
"keywords": [
"atom",
"package",
"code",
"coverage",
"report",
"nyc",
"istanbul",
"mocha",
"atom-mocha",
"test",
"testing",
"runner",
"spec"
]
}