-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
124 lines (124 loc) · 4.16 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
{
"name": "spm-ui-addon-devenv",
"version": "1.1.0",
"description": "Enable the development of Carbon Components, and can be integrated with GraphQl and apollo client.",
"main": "index.js",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,json,css,scss,md,mdx}": [
"prettier --write"
],
"**/*.{js,jsx}": [
"eslint --fix",
"npm run test"
]
},
"subPackages": [
"packages/graphql-mocks"
],
"scripts": {
"analyze-bundle": "mkdir reports && npm run bundle-stats && npm run bundle-report",
"bundle-report": "cross-env node_modules/.bin/webpack-bundle-analyzer ./reports/bundle-stats.json ./dist --mode static --report ./reports/bundle-size.html",
"bundle-stats": "cross-env webpack --stats=detailed --json > ./reports/bundle-stats.json",
"postinstall": "subpkg install",
"mock-graphql-service": "node packages/graphql-mocks/server.js",
"dev-with-mockgraphql": "export GRAPHQL_SERVER_URL=http://localhost:4000/graphql && npm run mock-graphql-service & npm run dev",
"clean": "rm -rf node_modules",
"build": "gulp prod:spm",
"dev": "gulp dev:spm",
"deploy": "gulp deploy:spm",
"test": "jest src/* --config ./config/jest.config.js",
"gen-doc": "jsdoc -c ./config/jsdoc-config.json -d ./reports/doc",
"coverage": "npm run test -- --coverage --coverageDirectory ./reports/coverage",
"lint": "cross-env ./node_modules/.bin/eslint packages/custom-carbon-addons/src packages/carbon-addons-devenv/src",
"start": "webpack-dev-server --mode development",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@eslint/js": "^9.5.0",
"@storybook/addon-actions": "^8.1.10",
"@storybook/addon-essentials": "^8.1.10",
"@storybook/addon-links": "^8.1.10",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/react": "^8.1.10",
"@storybook/react-webpack5": "^8.1.10",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@webpack-cli/serve": "^1.6.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.3.1",
"babel-loader": "^8.0.2",
"cross-env": "^7.0.2",
"css-loader": "^3.6.0",
"dotenv": "^8.2.0",
"dotenv-webpack": "^3.0.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.1.2",
"file-loader": "^6.2.0",
"globals": "^15.6.0",
"gulp": "^5.0.0",
"gulp-cli": "^3.0.0",
"husky": "^4.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdoc": "^4.0.3",
"jsdom": "^24.1.0",
"jsdom-global": "^3.0.2",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"react-dev-tools-iframe-webpack-plugin": "^1.0.2",
"sass": "^1.74.1",
"sass-loader": "^10.0.3",
"shelljs": "^0.8.5",
"storybook": "^8.1.10",
"style-loader": "^0.23.0",
"url-loader": "^4.1.1",
"webpack": "^5.92.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "4.10.0",
"webpack-dev-server": "^4.0.0"
},
"dependencies": {
"@apollo/client": "^3.2.5",
"@carbon/grid": "^11.22.0",
"@carbon/icons": "^11.39.0",
"@carbon/layout": "^11.21.0",
"@carbon/pictograms-react": "^11.2.0",
"@carbon/react": "^1.55.0",
"@carbon/styles": "^1.55.0",
"@carbon/type": "^11.26.0",
"braces": "^3.0.3",
"classnames": "^2.2.6",
"core-js": "*",
"follow-redirects": "^1.15.6",
"open": "^8.4.0",
"prop-types": "*",
"react": "^18.3.1",
"react-app-polyfill": "^1.0.6",
"react-dom": "^18.3.1",
"react-intl": "^6.6.8",
"regenerator-runtime": "^0.13.7",
"subpkg": "^4.1.0",
"ws": "^8.17.1"
}
}