/
package.json
executable file
·94 lines (94 loc) · 2.95 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
{
"name": "concise",
"private": true,
"version": "0.4.5",
"author": "Guillermo Grau Panea",
"license": "MIT",
"description": "A tool belt for concise schemas",
"keywords": [
"schema",
"pg",
"postgres",
"postgresql",
"yaml",
"flowtype",
"flow",
"svg",
"diagram",
"erd",
"graphql",
"sequelize",
"firebase"
],
"homepage": "https://github.com/guigrpa/concise#readme",
"bugs": {
"url": "https://github.com/guigrpa/concise/issues"
},
"repository": "guigrpa/concise",
"scripts": {
"status": "oao status",
"travis": "yarn compile && yarn test",
"build": "yarn compile && yarn lint && yarn flow && yarn test && yarn xxl && yarn prepareRelease",
"compile": "oao all --parallel \"yarn compile\"",
"compileWatch": "oao all --parallel --parallel-limit 30 \"yarn compileWatch\"",
"lint": "eslint packages",
"flow": "flow check || exit 0",
"xxl": "xxl --src packages --exclude node_modules,/lib/",
"test": "yarn testCov",
"testCov": "yarn testCov:prepare && yarn testCov:dev && yarn testCov:report",
"testCov:prepare": "rm -rf ./coverage .nyc_output .nyc_tmp && mkdir .nyc_tmp",
"testCov:report": "cp -r .nyc_tmp .nyc_output && nyc report --reporter=html --reporter=lcov --reporter=text",
"testCov:dev": "yarn testCov:run && mv .nyc_tmp/coverage-final.json .nyc_tmp/coverage-dev.json",
"testCov:run": "jest --coverage && mv .nyc_output/coverage-final.json .nyc_tmp && rm -rf .nyc_output",
"jestWatch": "jest --watch --coverage",
"prepareRelease": "yarn docs && oao prepublish",
"docs": "extract-docs --template docs/README_TEMPLATE.md --output README.md",
"release": "oao publish",
"prettier": "prettier --single-quote --trailing-comma es5 --write \"packages/**/src/**/*.js\""
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-flow": "^7.10.4",
"babel-eslint": "^8.2.3",
"coveralls": "^3.0.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"extract-docs": "^1.6.1",
"flow-bin": "^0.70.0",
"flow-copy-source": "^2.0.9",
"jest": "^24.9.0",
"nyc": "^11.7.1",
"oao": "^2.0.0",
"prettier": "^2.2.1",
"sequelize": "^4.37.6",
"sqlite3": "^4.0.0",
"xxl": "^1.3.0"
},
"workspaces": [
"packages/*"
],
"jest": {
"clearMocks": true,
"testRegex": "packages/.*__tests__/.*\\.(test|spec)\\.(js|jsx)$",
"coverageDirectory": ".nyc_output",
"coverageReporters": [
"json",
"text",
"html"
],
"collectCoverageFrom": [
"packages/*/src/**",
"!packages/concise-examples/**",
"!**/node_modules/**",
"!**/__tests__/**",
"!**/__mocks__/**"
]
}
}