-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
40 lines (40 loc) · 1.68 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
{
"name": "@qiwi/mware-monorepo",
"private": true,
"description": "Common express middlewares",
"workspaces": [
"packages/*"
],
"scripts": {
"clean": "yarn workspaces foreach -tp run clean",
"flow:fetch": "node_modules/.bin/flow-typed install [email protected]",
"flow:coverage": "node_modules/.bin/flow-coverage-report -i 'packages/**/src/**/*.js' -t html -t json -t text --threshold 50",
"build": "yarn flow:fetch && yarn workspaces foreach -tp run build",
"build:es6": "yarn workspaces foreach -tp run build:es6",
"build:es5": "yarn workspaces foreach -tp run build:es5",
"build:flow": "yarn workspaces foreach -tp run build:flow",
"test": "yarn flow && yarn flow:coverage && yarn lint && yarn test:unit",
"test:unit": "BABEL_ENV=test NODE_ENV=test node_modules/.bin/jest --no-cache -w 1 --detectOpenHandles --config jest.config.json",
"test:report": "yarn test && yarn coveralls:push",
"coveralls:push": "cat ./coverage/lcov.info | npm_config_yes=true npx coveralls || exit 0",
"lint": "node_modules/.bin/eslint 'packages/**/src/**/*.js' 'packages/**/test/**/*.js' --fix | node_modules/.bin/snazzy",
"docs": "docma -c ./docma.json",
"docs:view": "node scripts/docsapp.js",
"deps:upgrade": "npm_config_yes=true npx npm-upgrade-monorepo",
"deps:auditfix": "npm_config_yes=true npx yarn-audit-fix",
"postupdate": "yarn && yarn build && yarn test"
},
"repository": {
"type": "git",
"url": "https://github.com/qiwi/mware.git"
},
"keywords": [
"common middlewares"
],
"author": "Anton Golub <[email protected]>",
"license": "MIT",
"packageManager": "[email protected]",
"dependencies": {
"flow-bin": "^0.199.1"
}
}