-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
57 lines (57 loc) · 1.7 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
{
"name": "@entria/yarn-package-boilerplate",
"description": "Yarn package boilerplate",
"version": "0.0.1",
"author": {
"name": "Entria",
"email": "dev@entria.com.br",
"url": "https://github.com/entria"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^22.4.3",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^4.19.1",
"eslint-plugin-react": "^7.9.1",
"flow-bin": "^0.70.0",
"flow-coverage-report": "^0.5.0",
"jest": "^23.1.0",
"jest-cli": "^22.4.3",
"lint-staged": "^7.0.4",
"pre-commit": "^1.2.2",
"prettier": "^1.12.1"
},
"homepage": "https://github.com/entria/yarn-package-boilerplate",
"jsnext:main": "src/index.js",
"keywords": [
"boilerplate",
"npm",
"yarn"
],
"license": "MIT",
"lint-staged": {
"src/**/*.js": [
"prettier --write --single-quote true --trailing-comma all --print-width 100",
"git add"
]
},
"main": "lib/index.js",
"module": "src/index.js",
"pre-commit": "lint:staged",
"repository": {
"type": "git",
"url": "git+https://github.com/entria/yarn-package-boilerplate"
},
"scripts": {
"build": "rm -rf lib/* && babel src --ignore *.spec.js --out-dir lib --copy-files && npm run build:flow",
"build:flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
"lint": "eslint src/**",
"lint:staged": "lint-staged",
"test": "jest",
"test:watch": "jest --watch --coverage",
"flow:coverage": "flow-coverage-report -i 'src/**/*.js' -t html"
}
}