-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
96 lines (96 loc) · 2.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
{
"name": "node-devops-boilerplate",
"version": "1.0.0",
"description": "Simple Node.js boilerplate to demonstrate deployment with testing, linting and coverage reporting, CI/CD using Circle CI",
"author": "",
"main": "dist/index.js",
"private": true,
"scripts": {
"build": "babel --copy-files --out-dir dist --ignore *.test.js src",
"prebuild": "rimraf dist",
"lint": "esw *.js src --color",
"lint:watch": "yarn lint -- --watch",
"test": "yarn lint && yarn test-and-generate-coverage && yarn check-coverage",
"test:watch": "yarn test_scripts -- -w",
"test-scripts": "mocha src/**/*.test.js --compilers js:babel-register",
"test-and-generate-coverage": "nyc yarn test-scripts",
"coverage-report-watch": "browser-sync start --files='coverage/lcov-report/index.html' --server --startPath coverage/lcov-report",
"check-coverage": "nyc check-coverage ./coverage/coverage.json --statements 100 -- branches 100 --functions 100 --lines 100",
"report-coverage": "codecov",
"pre-commit-test": "yarn test",
"start": "node src/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomers/node-devops-boilerplate.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/tomers/node-devops-boilerplate/issues"
},
"homepage": "https://github.com/tomers/node-devops-boilerplate#readme",
"keywords": [
"node",
"nodejs",
"boilerplate",
"circleci",
"cicd",
"yarn",
"lint",
"coverage",
"aws"
],
"dependencies": {
"unique-random-array": "1.0.0"
},
"devDependencies": {
"babel-cli": "6.18.0",
"babel-preset-es2015": "6.18.0",
"babel-preset-stage-0": "6.16.0",
"babel-register": "6.18.0",
"browser-sync": "2.18.5",
"chai": "3.5.0",
"codecov": "1.0.1",
"eslint": "3.12.2",
"eslint-config-airbnb-base": "11.0.0",
"eslint-plugin-import": "2.2.0",
"eslint-watch": "2.1.14",
"ghooks": "2.0.0",
"istanbul": "0.4.5",
"mocha": "3.2.0",
"npm-watch": "0.1.7",
"nyc": "10.0.0",
"rimraf": "2.5.4"
},
"babel": {
"presets": [
"es2015",
"stage-0"
]
},
"config": {
"ghooks": {
"pre-commit": "yarn pre-commit-test"
}
},
"nyc": {
"//": "TODO: consider moving this section to ./.nycrc",
"exclude": [
"coverage/",
"**/*.test.js"
],
"reporter": [
"lcov"
],
"all": true
},
"watch": {
"test": "*.js"
},
"files": [
".elasticbeanstalk/config.yml",
"src/index.js",
"src/people.json",
"README.md"
]
}