-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
93 lines (93 loc) · 3.37 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
{
"description": "A JavaScript bundler for node.js monorepo applications",
"repository": "https://github.com/flegall/monopack.git",
"author": "Florent Le Gall <florent.legall@gmail.com>",
"license": "MIT",
"private": true,
"devDependencies": {
"@babel/core": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-proposal-decorators": "7.8.3",
"@babel/plugin-proposal-export-namespace-from": "7.8.3",
"@babel/plugin-proposal-function-sent": "7.8.3",
"@babel/plugin-proposal-json-strings": "7.8.3",
"@babel/plugin-proposal-numeric-separator": "7.8.3",
"@babel/plugin-proposal-throw-expressions": "7.8.3",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.8.3",
"@babel/preset-env": "7.8.4",
"@babel/preset-flow": "7.8.3",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.3",
"babel-jest": "23.6.0",
"babel-merge": "2.0.1",
"chalk": "2.4.2",
"eslint": "5.16.0",
"eslint-config-prettier": "3.6.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-flowtype": "3.13.0",
"eslint-plugin-import": "2.20.0",
"eslint-plugin-jest": "21.27.2",
"eslint-plugin-node": "7.0.1",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"flow-bin": "0.83.0",
"flow-typed": "2.6.2",
"glob": "7.1.6",
"husky": "1.3.1",
"jest": "23.6.0",
"lerna": "3.15.0",
"lint-staged": "7.3.0",
"micromatch": "3.1.10",
"mkdirp": "0.5.1",
"prettier": "1.17.1",
"rimraf": "2.7.1",
"string-length": "2.0.0",
"webpack-merge": "4.2.1"
},
"scripts": {
"clean": "yarn lerna clean -y && rimraf node_modules",
"postinstall": "yarn build",
"build": "node scripts/build.js",
"watch": "node scripts/watch.js",
"jest": "jest --verbose",
"pretest": "yarn flow && yarn eslint",
"test": "yarn jest --verbose",
"posttest": "yarn selfBuild",
"coverage": "yarn jest --coverage",
"selfBuild": "yarn monopack build ./packages/monopack/src/run-cli.js",
"selfRun": "yarn monopack run ./packages/monopack/src/run-cli.js :: run main.js",
"selfDebug": "yarn monopack debug ./packages/monopack/src/run-cli.js :: run main.js",
"selfDebugBreak": "yarn monopack debug ./packages/monopack/src/run-cli.js --debug-break :: run main.js",
"eslint": "eslint . --cache",
"format": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.css\" \"**/*.md\"",
"copyReadmes": "yarn lerna exec cp ../../README.md .",
"copyLicenses": "yarn lerna exec cp ../../LICENSE .",
"cleanErrorFiles": "rm -vf `find . -name 'lerna-debug.log'` && rm -vf `find . -name 'yarn-error.log'`",
"prerelease": "yarn pretest && yarn test && yarn build && yarn cleanErrorFiles && yarn copyReadmes && yarn copyLicenses",
"release": "yarn lerna publish",
"premonopack": "yarn build",
"monopack": "./node_modules/.bin/monopack",
"predebugMonopack": "yarn build",
"debugMonopack": "node --inspect --inspect-brk ./node_modules/.bin/monopack"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn run flow && yarn test"
}
},
"lint-staged": {
"linters": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
],
"*.js": "eslint --cache"
},
"concurrent": false
},
"workspaces": [
"packages/*"
]
}