forked from contentful/rich-text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.47 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
{
"name": "@contentful/rich-text",
"private": true,
"description": "A monorepo for all NPM packages related to Rich Text",
"author": "Contentful GmbH",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/contentful/rich-text.git"
},
"engines": {
"node": ">=16"
},
"scripts": {
"benchmark": "ts-node -O '{\"module\": \"commonjs\"}' bin/benchmark",
"build": "lerna run build",
"commit": "git-cz",
"clean": "lerna exec 'rm -rf node_modules/ dist/ && npm prune' && rm -rf node_modules/ && npm prune",
"lint": "lerna run lint",
"postinstall": "lerna bootstrap --hoist --progress --no-ci",
"prebuild": "lerna run prebuild",
"prepublishOnly": "npm i && npm run build && npm run lint && npm run test",
"release": "lerna version --no-private --conventional-commits --create-release github --yes && lerna publish from-git --yes",
"start": "lerna run start",
"test": "jest",
"test:ci": "npm run build && npm run test:prod",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"test:watch": "jest --watch"
},
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
},
"commitizen": {
"path": "./node_modules/git-cz"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"devDependencies": {
"@types/benchmark": "^1.0.33",
"@types/faker": "^4.1.12",
"@types/jest": "^27.0.1",
"benchmark": "^2.1.4",
"commitizen": "^3.1.2",
"git-cz": "^3.3.0",
"husky": "^2.7.0",
"lerna": "^3.22.1",
"lint-staged": "^8.2.1",
"prettier": "^1.19.1",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^27.0.5",
"ts-node": "^8.10.2",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^4.4.2",
"validate-commit-msg": "^2.14.0"
},
"dependencies": {}
}