-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
99 lines (99 loc) · 3.65 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
{
"name": "es2015-library-skeleton",
"version": "0.0.0-development",
"description": "my personal ES2015 library project skeleton",
"main": "index.js",
"module": "es/index.js",
"modules.root": "es",
"sideEffects": false,
"scripts": {
"lint": "eslint src test --cache",
"lint:fix": "eslint --fix src test --cache",
"lint:watch": "esw --watch src test --cache",
"prettier": "prettier --write src/**/*.js test/**/*.js",
"prettier:check": "prettier --list-different src/**/*.js test/**/*.js",
"flow": "flow",
"flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done",
"flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore es/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/",
"clean": "rimraf es lib $(cd src; ls) *.js.flow",
"build": "npm run clean && babel src --out-dir es && flow-copy-source -v src/ es && BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ .",
"test": "NODE_ENV=production BABEL_ENV=es5 mocha $npm_package_config_mocha && NODE_ENV=production BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
"test:watch": "NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha",
"codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov",
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "npm run lint && npm run prettier:check && flow",
"prepush": "npm test",
"prepublishOnly": "npm run clean && npm run lint && flow && npm test && npm run build",
"open:coverage": "open coverage/lcov-report/index.html",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"config": {
"mocha": "-r babel-register ./test/**/*.js",
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"include": [
"src/**/*.js"
],
"require": [
"babel-register"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "https://github.com/jedwards1211/es2015-library-skeleton.git"
},
"keywords": [
"es2015"
],
"author": "Andy Edwards",
"license": "MIT",
"bugs": {
"url": "https://github.com/jedwards1211/es2015-library-skeleton/issues"
},
"homepage": "https://github.com/jedwards1211/es2015-library-skeleton#readme",
"devDependencies": {
"@commitlint/cli": "^6.0.2",
"@commitlint/config-conventional": "^6.0.2",
"@jedwards1211/commitlint-config": "^1.0.0",
"@jedwards1211/eslint-config": "^2.0.0",
"@jedwards1211/eslint-config-flow": "^1.0.0",
"babel-cli": "^6.23.0",
"babel-core": "^6.23.1",
"babel-eslint": "^7.1.1",
"babel-plugin-istanbul": "^4.0.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-1": "^6.24.1",
"babel-register": "^6.23.0",
"babel-runtime": "^6.23.0",
"chai": "^4.1.2",
"codecov": "^3.0.0",
"copy": "^0.3.0",
"eslint": "^3.15.0",
"eslint-plugin-flowtype": "^2.30.0",
"eslint-watch": "^3.0.0",
"flow-bin": "^0.85.0",
"flow-copy-source": "^1.2.1",
"flow-watch": "^1.1.0",
"husky": "^0.14.3",
"istanbul": "^0.4.5",
"mocha": "^5.0.0",
"nyc": "^11.4.1",
"prettier": "^1.15.1",
"prettier-eslint": "^8.8.2",
"rimraf": "^2.6.0",
"semantic-release": "^15.1.4",
"travis-deploy-once": "^4.3.1"
}
}