-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
64 lines (64 loc) · 1.82 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
{
"private": true,
"name": "@textlint/editor",
"version": "0.1.0",
"description": "textlint editor project.",
"homepage": "https://github.com/textlint/editor",
"bugs": {
"url": "https://github.com/textlint/editor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/textlint/editor.git"
},
"license": "MIT",
"author": "azu",
"main": "lib/editor.js",
"directories": {
"lib": "lib",
"test": "test"
},
"workspaces": [
"packages/*",
"packages/@textlint/*",
"examples/*"
],
"files": [
"bin/",
"lib/"
],
"scripts": {
"build": "lerna run build",
"test": "lerna run build && lerna run test",
"website": "cd packages/textchecker-element && yarn run website",
"versionup": "lerna version",
"ci:versionup:patch": "lerna version patch --no-push --no-git-tag-version --yes && npm run commit-version",
"ci:versionup:minor": "lerna version minor --no-push --no-git-tag-version --yes && npm run commit-version",
"ci:versionup:major": "lerna version major --no-push --no-git-tag-version --yes && npm run commit-version",
"commit-version": "git add . && git commit -m \"chore(release): v`node -p 'require(\"./lerna.json\").version'`\"",
"release": "lerna publish from-package",
"ci:release": "lerna publish from-package --yes",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"lerna": "^6.4.1",
"lint-staged": "^13.1.1",
"prettier": "^2.8.4"
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"packageManager": "[email protected]"
}