-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
128 lines (128 loc) · 4.34 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
{
"name": "@bluecateng/limani",
"version": "1.1.0",
"description": "Gateway shared components",
"usage": "dev",
"scripts": {
"pre-publish-setup": "npm config set ${NPM_REGISTRY_REPLACE_THIS_VALUE}",
"set-token": "npm config set ${NPM_REGISTRY_REPLACE_THIS_VALUE} ${NPM_TOKEN}",
"publish-package": "npm publish --registry ${NPM_REGISTRY_REPLACE_THIS_VALUE}",
"publish-dev-package": "npm publish --registry ${NPM_REGISTRY_REPLACE_THIS_VALUE} --tag dev",
"build": "rm -rf dist && babel src -d dist --env-name production && npm run copy-resources dist",
"copy-resources": "node scripts/copy-resources",
"prepare": "husky install .husky ; npm run build",
"test": "jest",
"test-ci": "jest --ci",
"lint-styles": "stylelint src/**/*.less",
"prettier-check": "prettier --check --config ./.prettierrc . --ignore-path ./.prettierignore",
"eslint-ci": "eslint .",
"reformat": "prettier --write --config ./.prettierrc . --ignore-path ./.prettierignore",
"release": "commit-and-tag-version",
"storybook-live": "storybook dev -p 6006",
"storybook-build-static": "storybook build",
"storybook-run-static": "http-server ./storybook-static/ --port 9001 --silent &",
"storybook-stop-static": "pkill -f http-server"
},
"files": [
"dist",
"less",
"assets"
],
"sideEffects": [
"*.less"
],
"repository": {
"type": "git",
"url": "[email protected]:bluecatengineering/limani.git"
},
"keywords": [
"react"
],
"exports": {
".": "./dist/index.js",
"./less/*": "./less/*",
"./assets/*": "./assets/*"
},
"license": "MIT",
"dependencies": {
"@carbon/icons-react": "^11.42.0",
"prop-types": "^15.8.1"
},
"peerDependencies": {
"@bluecateng/pelagos": "^12.11.0",
"@bluecateng/pelagos-forms": "^5.0.0"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@bluecateng/commitlint-config-bluecateng": "^1.0.1",
"@bluecateng/git-check-push": "^1.0.0",
"@bluecateng/jest-helpers": "^3.0.0",
"@bluecateng/l10n-cli": "^0.1.8",
"@bluecateng/l10n-core": "^0.2.0",
"@bluecateng/l10n-icu2obj": "^0.1.5",
"@bluecateng/l10n-jest": "^0.3.0",
"@bluecateng/l10n-loader": "^0.1.5",
"@bluecateng/l10n.macro": "^0.1.6",
"@bluecateng/stylelint-config": "^4.0.1",
"@commitlint/cli": "^17.0.2",
"@storybook/addon-a11y": "^7.0.7",
"@storybook/addon-essentials": "^7.0.7",
"@storybook/react": "^7.0.7",
"@storybook/react-webpack5": "^7.0.7",
"babel-loader": "^8.3.0",
"babel-plugin-macros": "^3.1.0",
"commit-and-tag-version": "^11.2.4",
"css-loader": "^6.7.3",
"enzyme": "^3.11.0",
"eslint": "^8.36.0",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"jest": "^28.1.2",
"less-loader": "^11.1.0",
"lint-staged": "^13.2.0",
"msw": "^1.2.2",
"msw-storybook-addon": "^1.8.0",
"postcss-less": "^6.0.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^7.0.7",
"style-loader": "^3.3.1",
"stylelint": "^14.9.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^26.0.0"
},
"bc-l10n": {
"hashLength": 4,
"module": "src/l10n",
"catalogPath": "src/l10n/{locale}",
"locales": [
"en",
"zz"
]
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint",
"prettier --check --config ./.prettierrc . --ignore-path ./.prettierignore"
],
"*.less": [
"prettier --check --config ./.prettierrc . --ignore-path ./.prettierignore"
],
"*.{md, rst}": [
"prettier --write --config ./.prettierrc . --ignore-path ./.prettierignore"
]
},
"stylelint": {
"extends": [
"@bluecateng/stylelint-config"
],
"customSyntax": "postcss-less"
},
"msw": {
"workerDirectory": ".storybook/mswpublic"
}
}