-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
123 lines (123 loc) · 4.26 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
{
"name": "@jahia/moonstone",
"version": "2.9.2",
"main": "dist/lib/main.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.26.0",
"@jahia/scripts": "^1.3.6",
"clsx": "^2.1.1",
"prop-types": "^15.8.1",
"re-resizable": "^6.10.1",
"to-px": "^1.1.0"
},
"peerDependencies": {
"react": "^16.11.0",
"react-table": "^7.7.0"
},
"scripts": {
"start": "storybook dev -p 6006",
"test": "jest --ci --runInBand --coverage",
"tdd": "jest --watch",
"lint:js": "eslint --ext js,jsx,ts,tsx,json .",
"lint:scss": "stylelint ./src/**/*.scss",
"lint": "yarn lint:js && yarn lint:scss",
"lint:js:fix": "yarn lint:js --fix .",
"lint:scss:fix": "yarn lint:scss --fix",
"lint:fix": "yarn lint:js:fix && yarn lint:scss:fix",
"compile:js": "node ./scripts/compile.mjs",
"compile:css": "node ./scripts/compile-css.js",
"tsc": "tsc --build tsconfig.json",
"build:icons": "rimraf src/icons/components/*.tsx && svgr --template ./src/icons/svgrTemplate.js --config-file ./src/icons/svgr.config.js ./src/icons/assets && eslint --fix ./src/icons/components/*",
"build": "yarn build:storybook && yarn build:lib && yarn webpack",
"prebuild:lib": "rimraf dist/",
"build:lib": "yarn tsc && yarn compile:js && yarn compile:css",
"build:storybook": "storybook build",
"release": "auto shipit"
},
"repository": "https://github.com/Jahia/moonstone.git",
"devDependencies": {
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.8",
"@babel/plugin-transform-runtime": "^7.25.7",
"@babel/preset-env": "^7.25.8",
"@babel/preset-react": "^7.25.7",
"@babel/preset-typescript": "^7.25.7",
"@cyclonedx/webpack-plugin": "^3.14.0",
"@jahia/eslint-config": "^2.1.2",
"@jahia/stylelint-config": "^0.0.3",
"@storybook/addon-a11y": "^8.4.7",
"@storybook/addon-actions": "^8.4.7",
"@storybook/addon-backgrounds": "^8.4.7",
"@storybook/addon-controls": "^8.4.7",
"@storybook/addon-docs": "^8.4.7",
"@storybook/addon-viewport": "^8.4.7",
"@storybook/addon-webpack5-compiler-babel": "3.0.3",
"@storybook/core-events": "^8.4.7",
"@storybook/manager-api": "^8.4.7",
"@storybook/preview-api": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-webpack5": "^8.4.7",
"@storybook/source-loader": "^8.4.7",
"@svgr/cli": "^8.1.0",
"@svgr/core": "^8.1.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/node": "^22.8.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-table": "^7.7.20",
"@types/to-px": "^1.1.4",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"auto": "^11.2.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-transform-rename-import": "^2.3.0",
"babel-plugin-typescript-to-proptypes": "^2.1.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "8.x.x",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.0.0",
"file-loader": "^6.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.1",
"mkdir-recursive": "^0.4.0",
"postcss": "^8.4.47",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^10.0.7",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-table": "^7.7.0",
"react-test-renderer": "18.2.0",
"rimraf": "5.0.10",
"sass": "^1.44.0",
"sass-loader": "^16.0.2",
"storybook": "8.4.7",
"storybook-addon-tag-badges": "^1.3.2",
"style-loader": "^4.0.0",
"stylelint": "13.x.x",
"terser-webpack-plugin": "^5.2.5",
"ts-loader": "^9.2.6",
"typescript": "^5.6.3",
"webpack": "^5.64.4",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"publishConfig": {
"access": "public"
},
"packageManager": "yarn@4.5.1"
}