-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.52 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.52 KB
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
{
"name": "@entria/api",
"description": "Api wrapper",
"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-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-0": "^6.24.1",
"flow-bin": "^0.53.0",
"flow-coverage-report": "^0.3.0",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"lint-staged": "^4.0.3",
"pre-commit": "^1.2.2",
"prettier": "^1.5.3"
},
"homepage": "https://github.com/entria/api",
"jsnext:main": "src/api.js",
"keywords": [
"api",
"fetch"
],
"license": "MIT",
"lint-staged": {
"src/**/*.js": [
"prettier --write --single-quote true --trailing-comma all --print-width 100",
"git add"
]
},
"main": "lib/api.js",
"module": "src/api.js",
"pre-commit": "lint:staged",
"repository": {
"type": "git",
"url": "git+https://github.com/entria/api"
},
"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",
"flow:coverage": "flow-coverage-report -i 'src/**/*.js' -t html",
"lint": "eslint src/**",
"lint:staged": "lint-staged",
"test": "jest",
"test:watch": "jest --watch --coverage"
}
}