-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 3.12 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
{
"name": "ncli-archetype",
"description": "This is a template CLI project",
"version": "3.2.0",
"keywords": [
"cli",
"util",
"tool",
"utility"
],
"author": {
"name": "Tamás Benke",
"email": "tombenke@gmail.com"
},
"contributors": [],
"bugs": {
"url": "https://github.com/tombenke/ncli-archetype/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/tombenke/ncli-archetype.git"
},
"bin": {
"ncli-archetype": "./dist/app.js"
},
"main": "index",
"dependencies": {
"lodash": "^4.17.15",
"npac": "^2.1.7",
"yargs": "^15.3.1"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-loader": "^8.1.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-es2015-parameters": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "6.26.0",
"babel-preset-env": "1.7.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-latest": "6.24.1",
"babel-register": "6.26.0",
"chai": "4.2.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"datafile": "^3.4.0",
"eslint": "^7.2.0",
"expect": "^26.0.1",
"gulp": "^4.0.2",
"gulp-debug": "4.0.0",
"gulp-markdown": "^5.0.1",
"gulp-mustache": "^5.0.0",
"gulp-rename": "^2.0.0",
"gulp-through": "0.4.0",
"husky": "^4.2.5",
"istanbul": "^1.1.0-alpha.1",
"jsdoc": "^3.6.4",
"mocha": "^8.0.1",
"mocha-lcov-reporter": "1.3.0",
"pre-push": "0.1.1",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"vinyl-buffer": "1.0.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier && npm run lint && npm run docs && npm run test && npm run build"
}
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"scripts": {
"build": "babel src --presets babel-preset-es2015 --out-dir dist",
"lint": "eslint src/**.js",
"prettier": "prettier --single-quote --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"test": "cross-env NODE_ENV=test mocha --recursive --require babel-register 'src/**/*.spec.js'",
"test-single": "cross-env NODE_ENV=test mocha --recursive --require babel-register $1",
"test:watch": "npm test -- --watch",
"coverage": "NODE_ENV=test istanbul cover _mocha -- recursive --require babel-register --timeout 15000 'src/**/*.spec.js'",
"coveralls": "NODE_ENV=test istanbul cover _mocha --report lcovonly -- recursive --require babel-register --timeout 15000 'src/**/*.spec.js' -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"docs": "rm -fr ./docs/api/* && jsdoc -c ./.jsdoc.json",
"docgen": "node_modules/.bin/gulp docgen",
"prepublishOnly": "npm run lint && npm run test && npm run build && npm run docs",
"all": "npm run prettier && npm run lint && npm run coverage && npm run build && npm run docs"
},
"pre-push": [
"lint",
"test",
"build",
"prepublishOnly"
]
}