-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
139 lines (139 loc) · 6.12 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "crayons",
"version": "4.0.0",
"description": "Crayons Packages comprising of Design system library using web components, icon library and i18n library",
"main": "index.js",
"engines": {
"node": ">=14.17.0",
"npm": ">=7.24.1"
},
"workspaces": [
"./packages/*",
"./packages/crayons-extended/*"
],
"scripts": {
"build:packages": "lerna run build --stream",
"build": "lerna run build --stream && npm run storybook:build && npm run docs:build",
"check-next": "HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna version --conventional-commits --conventional-prerelease --preid beta --no-push --no-git-tag-version",
"check-latest": "HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna version --conventional-commits --conventional-graduate --no-push --no-git-tag-version",
"clean-changelog": "lernacleanchangelog '**'",
"code-sanity": "npm run lint",
"docs:build": "npm run docs:prepare && vuepress build www",
"docs:dev": "lerna run build --stream && npm run docs:prepare && vuepress dev www",
"docs:prepare": "node www/scripts/reorganize.js && node www/scripts/version.js",
"get-translations": "lerna run get-translations",
"lint": "npm run lint:ts && npm run lint:styles",
"lint:fix": "npm run lint:ts:fix && npm run lint:styles",
"lint:styles": "stylelint '**/*.scss'",
"lint:ts": "eslint .",
"lint:ts:fix": "eslint . --fix",
"lint-staged": "lint-staged",
"preinstall": "npm run requirements-check",
"release-next": "HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna publish from-package --no-commit-hooks --dist-tag next && npm run update-lock:next",
"release-next:ci": "HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna publish from-package --no-commit-hooks --no-verify-access --dist-tag next --yes && npm run update-lock:next",
"release-latest": "HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna publish from-package --no-commit-hooks --dist-tag v4 && npm run update-lock:latest",
"release-latest:ci": "HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna publish from-package --no-commit-hooks --dist-tag v4 --yes && npm run update-lock:latest",
"requirements-check": "node check-version.js",
"storybook:build": "rimraf storybook-dist && build-storybook -c docs/.storybook -o docs/storybook-dist",
"storybook:dev": "lerna run build --stream && start-storybook -p 9001 -c docs/.storybook",
"test": "lerna run test --stream",
"test:ci": "lerna run test:ci --stream",
"update-next": "npm run get-translations && npm run build && HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna version --conventional-commits --conventional-prerelease --preid beta --create-release github && npm run clean-changelog && npm run update-tag:next",
"update-next:ci": "npm run get-translations && npm run build && HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna version --conventional-commits --conventional-prerelease --preid beta --create-release github --yes && npm run clean-changelog && npm run update-tag:next",
"update-lock:latest": "sh ./scripts/update_lock_latest.sh",
"update-lock:next": "sh ./scripts/update_lock_next.sh",
"update-tag:latest": "sh ./scripts/update_tag_latest.sh",
"update-tag:next": "sh ./scripts/update_tag_next.sh",
"update-latest": "npm run get-translations && npm run build && HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna version --conventional-commits --conventional-graduate --create-release github && npm run clean-changelog && npm run update-tag:latest",
"update-latest:ci": "npm run get-translations && npm run build && HUSKY_INSTALL=1 HUSKY_SKIP_HOOKS=1 lerna version --conventional-commits --conventional-graduate --create-release github --yes && npm run clean-changelog && npm run update-tag:latest",
"version:add": "node www/scripts/add-version"
},
"keywords": [
"crayons",
"webcomponents",
"stencil",
"stenciljs",
"design system",
"ui-kit",
"freshworks",
"typescript",
"i18n",
"icons"
],
"author": "Freshworks Inc",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@storybook/addon-a11y": "^6.2.9",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-docs": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-events": "^6.2.9",
"@storybook/addon-viewport": "^6.2.9",
"@storybook/html": "^6.2.9",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/web-components": "^6.2.9",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@vue/babel-preset-app": "^4.5.15",
"@vuepress/plugin-active-header-links": "^1.8.2",
"commitizen": "^4.2.4",
"copy": "^0.3.2",
"copy-webpack-plugin": "^6.4.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^7.18.0",
"html-to-react": "1.4.5",
"husky": "^4.2.3",
"kill-port": "^1.6.1",
"lerna-clean-changelogs-cli": "^2.0.2",
"lint-staged": "^10.5.4",
"lit-html": "^1.3.0",
"mustache": "^4.2.0",
"prepend-file": "^2.0.0",
"prettier": "^2.4.1",
"stylelint": "^13.13.1",
"stylelint-a11y": "^1.2.3",
"stylelint-config-recommended": "^5.0.0",
"stylelint-prettier": "^1.2.0",
"stylelint-scss": "^3.21.0",
"stylelint-use-logical-spec": "^4.1.0",
"vuepress": "^1.8.2",
"vuepress-plugin-google-tag-manager": "0.0.5",
"vuepress-plugin-live": "^1.6.2",
"vuepress-plugin-seo": "^0.1.4",
"wait-on": "^6.0.0",
"write-file-webpack-plugin": "^4.5.1"
},
"dependencies": {
"lerna": "^4.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-push": "npm run test",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.{css,scss}": [
"stylelint"
],
"**/.vuepress/**/*.vue": [
"stylelint"
],
"*.{js,ts,tsx,jsx}": [
"eslint --fix"
]
}
}