forked from AxaFrance/react-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.92 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.92 KB
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
{
"name": "@axa-fr/react-toolkit",
"version": "0.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/AxaGuilDEv/react-toolkit.git"
},
"workspaces": [
"packages/*",
"packages/Form/*",
"packages/Form/Input/*",
"packages/Layout/*",
"packages/Modal/*"
],
"scripts": {
"build": "lerna run build && npm run style",
"postversion": "rimraf package-lock.json && npm i --force --ignore-scripts && git add package-lock.json && git commit --amend --no-edit",
"style": "node ./scripts/style.js",
"storybook": "start-storybook -p 9009 -s storybook-public",
"storybook:build": "build-storybook -s storybook-public -c .storybook -o storybook-static && node ./scripts/inject-version.js",
"test": "jest",
"cover": "jest --no-cache --config ./jest.config.ts --coverage",
"check": "npm run check:formatting && npm run check:quality",
"check:formatting": "prettier --check \"**/*.{js,jsx,ts,tsx,css,scss,json,md}\"",
"check:quality": "eslint \"**/*.{js,jsx,ts,tsx,json}\" --cache --cache-location=.cache/eslint --report-unused-disable-directives",
"fix": "npm run fix:formatting && npm run fix:quality",
"fix:formatting": "prettier --write \"**/*.{js,jsx,ts,tsx,css,scss,json,md}\"",
"fix:quality": "eslint \"**/*.{js,jsx,ts,tsx,json}\" --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@storybook/addon-a11y": "^6.4.18",
"@storybook/addon-actions": "^6.4.18",
"@storybook/addon-essentials": "^6.4.18",
"@storybook/addon-storysource": "^6.4.18",
"@storybook/addon-viewport": "^6.4.18",
"@storybook/addons": "^6.4.18",
"@storybook/react": "^6.4.18",
"@storybook/source-loader": "^6.4.18",
"@storybook/theming": "^6.4.18",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.3",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"babel-loader": "^8.1.0",
"bootstrap": "4.3.1",
"css-loader": "^5.0.1",
"eslint": "^7.12.1",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"fs-extra": "^10.0.0",
"husky": "^4.3.0",
"jest": "^27.4.5",
"lerna": "^3.22.1",
"lint-staged": "^12.3.3",
"markdown-loader": "^6.0.0",
"npmlog": "^4.1.2",
"package-lock-sanitizer": "^1.0.1",
"postcss": "^8.1.4",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"sass": "^1.49.7",
"sass-loader": "^10.0.5",
"storybook-readme": "^5.0.9",
"ts-jest": "^27.1.2",
"ts-node": "^10.8.1",
"typescript": "^4.0.5"
},
"dependencies": {
"autoprefixer": "^10.0.1",
"clean-css": "^4.2.3",
"find": "^0.3.0"
},
"engines": {
"npm": ">=7.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"browserslist": [
"last 2 versions"
],
"lint-staged": {
"**/*.{css,scss,json,md,js,jsx,ts,tsx,json,md,yml}": [
"prettier --write"
],
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"package-lock.json": [
"package-lock-sanitizer -r https://registry.npmjs.org -l"
]
}
}