-
Notifications
You must be signed in to change notification settings - Fork 78
/
package.json
73 lines (73 loc) · 2.15 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
{
"name": "ibm-ai-applications",
"workspaces": {
"packages": [
"packages/*"
]
},
"main": "lib/src/index.js",
"module": "es/src/index.js",
"unpkg": "umd/carbon-addons-iot-react.js",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon-addons-iot-react.git"
},
"private": true,
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/carbon-design-system/carbon-addons-iot-react/issues"
},
"homepage": "https://carbon-design-system.github.io/carbon-addons-iot-react",
"scripts": {
"build:storybook": "node ./scripts/storybook.js --build",
"build": "lerna run --stream build",
"lint": "lerna run --stream lint",
"test": "lerna run --stream test",
"test:ci": "lerna run --stream test:ci",
"start": "lerna run --stream start",
"clean": "lerna run --stream clean && lerna clean && rm -rf node_modules",
"format": "prettier --write \"**/*.{scss,css,js,jsx,md,ts}\"",
"format:check": "prettier --check \"**/*.{scss,css,js,jsx,md,ts}\" --loglevel warn",
"publish-npm": "bash ./scripts/release.sh",
"version": "yarn format",
"storybook": "node ./scripts/storybook.js",
"sync-styles": "bash ./scripts/sync-styles.sh",
"format:react": "cd packages/react && yarn format"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged && lerna run --stream pre-commit",
"pre-push": "lerna run --stream pre-push",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"linters": {
"packages/react/*.{jsx,js}": [
"cd packages/react && eslint --fix"
],
"packages/react/*.{scss,css}": [
"cd packages/react && yarn lint:stylelint"
],
"packages/react/*.{scss,css,js,md,jsx,json}": [
"yarn format:react",
"git add"
]
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"arg": "^5.0.2",
"husky": "^1.3.1",
"lerna": "^6.6.2",
"lint-staged": "^8.1.0",
"prettier": "^2.8.8",
"prettier-config-carbon": "^0.11.0"
},
"sideEffects": false,
"version": "0.0.0-development"
}