-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
85 lines (85 loc) · 2.39 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
{
"name": "js-templates-generator",
"version": "1.0.0",
"main": "dist/index.js",
"bugs": {
"url": "https://github.com/onwuvic/js-templates-generator/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:onwuvic/js-templates-generator.git"
},
"homepage": "https://github.com/onwuvic/js-templates-generator#readme",
"author": "Onwuzor Victor <onwuzorvictor@outlook.com>",
"license": "MIT",
"scripts": {
"build": "npm run clean && npm run build-server",
"build-server": "node_modules/.bin/babel src --out-dir dist --ignore 'node_modules','src/**/*.spec.js','src/**/*.test.js'",
"clean": "rm -rf dist && mkdir dist",
"lint": "node_modules/.bin/eslint ./src",
"lint:fix": "npm run lint --fix",
"serve": "node dist/index.js",
"start": "cross-env NODE_ENV=production npm run build && npm run serve",
"dev": "cross-env NODE_ENV=development DEBUG=log node_modules/.bin/nodemon --exec node_modules/.bin/babel-node src/index.js",
"test": "jest --no-cache --detectOpenHandles --runInBand --forceExit",
"validate": "node_modules/.bin/npm-run-all --parallel lint test"
},
"files": [
"dist"
],
"bin": {
"initiate": "./dist/index.js"
},
"dependencies": {
"fs-extra": "7.0.1",
"inquirer": "6.2.2"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.3.3",
"@babel/node": "7.2.2",
"@babel/plugin-proposal-object-rest-spread": "7.3.2",
"@babel/plugin-transform-async-to-generator": "7.2.0",
"@babel/preset-env": "7.3.1",
"babel-eslint": "10.0.1",
"cross-env": "5.2.0",
"eslint": "5.12.0",
"eslint-config-airbnb-base": "13.1.0",
"eslint-plugin-import": "2.14.0",
"ghooks": "2.0.4",
"jest": "24.1.0",
"nodemon": "1.18.10",
"npm-run-all": "4.1.5",
"supertest": "3.4.2"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!src/index.js",
"!**/__tests__/**/*.js?(x)"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/?(*.)(spec|test)js",
"<rootDir>/src/**/?(*.)(spec|test).js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/templates"
],
"testEnvironment": "node"
},
"keywords": [
"boilerplate",
"node",
"template",
"CLI",
"generate",
"javascript",
"frameworks"
],
"config": {
"ghooks": {
"pre-commit": "npm run validate"
}
}
}