-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
114 lines (114 loc) · 4.35 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
{
"name": "akeneo-design-system",
"version": "2.0.5",
"description": "Akeneo design system",
"files": [
"lib"
],
"main": "./lib/index.js",
"module": "./lib/index.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.js"
}
},
"scripts": {
"lib:build": "vite build",
"lib:watch": "tsc -p ./tsconfig.build.json --watch",
"test": "npm run lint:check && npm run test:unit:run && npm run test:visual:run",
"test:unit:run": "jest --config ./jest.unit.config.js --maxWorkers=3",
"test:unit:watch": "jest --config ./jest.unit.config.js --watch --maxWorkers=3",
"test:visual:run": "npm run storybook:extract && jest --config ./jest.visual.config.js",
"test:visual:update": "npm run storybook:extract && jest --config ./jest.visual.config.js -u",
"eslint": "eslint --config .eslintrc.json --quiet \"./src/**/*.{ts,tsx}\"",
"eslint-fix": "eslint --config .eslintrc.json --quiet \"./src/**/*.{ts,tsx}\" --fix",
"prettier": "prettier --config .prettierrc.json --parser typescript --check \"./{src,generator}/**/*.{ts,tsx}\" --loglevel warn",
"prettier-fix": "prettier --config .prettierrc.json --parser typescript --write \"./{src,generator}/**/*.{ts,tsx}\"",
"lint:fix": "npm run prettier-fix && npm run eslint-fix",
"lint:check": "npm run prettier && npm run eslint",
"storybook:start": "npm run storybook:copy-public && NODE_OPTIONS=--openssl-legacy-provider npx start-storybook -p 6006 -s ./public",
"storybook:build": "npm run storybook:copy-public && NODE_OPTIONS=--openssl-legacy-provider npx build-storybook -s ./public && npx sb extract",
"storybook:ci:start": "NODE_OPTIONS=--openssl-legacy-provider npm run start-storybook -p 6006 --ci",
"storybook:copy-public": "cp ./src/__image_snapshots__/*standard-correctly-1-snap.png ./public/",
"storybook:extract": "sb extract storybook-static stories.json"
},
"author": "akeneo",
"license": "OSL-3.0",
"peerDependencies": {
"@types/react": "^17.0.2||^18.0.0",
"@types/react-dom": "^17.0.2||^18.0.0",
"react": "^17.0.2||^18.0.0",
"react-dom": "^17.0.2||^18.0.0",
"styled-components": "^5.3.3||^6.1.11"
},
"sideEffects": false,
"dependencies": {
"draft-js": "^0.11.0",
"draftjs-to-html": "^0.8.4",
"html-to-draftjs": "^1.5.0",
"react-draft-wysiwyg": "^1.15.0"
},
"devDependencies": {
"@storybook/addon-a11y": "^6.5.0",
"@storybook/addon-actions": "^6.5.0",
"@storybook/addon-essentials": "^6.5.0",
"@storybook/addon-links": "^6.5.0",
"@storybook/cli": "^6.5.0",
"@storybook/react": "^6.5.0",
"@testing-library/jest-dom": "^5.11.3",
"@testing-library/react": "^10.4.8",
"@testing-library/react-hooks": "^3.4.2",
"@testing-library/user-event": "^12.1.9",
"@types/draft-js": "^0.10.25",
"@types/draftjs-to-html": "^0.8.0",
"@types/expect-puppeteer": "^4.4.3",
"@types/html-to-draftjs": "^1.4.0",
"@types/jest": "^26.0.14",
"@types/jest-environment-puppeteer": "^4.3.2",
"@types/jest-image-snapshot": "^3.1.0",
"@types/puppeteer": "^3.0.1",
"@types/react": "^17.0.0 <=17.0.66",
"@types/react-dom": "^17.0.25",
"@types/react-draft-wysiwyg": "^1.12.13",
"@types/styled-components": "^5.1.34",
"@types/testing-library__jest-dom": "^5.9.2",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"@vitejs/plugin-react": "^4.3.2",
"eslint": "^7.8.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"glob": "^7.1.6",
"http-server": "^0.12.3",
"jest": "^26.3.0",
"jest-image-snapshot": "^4.1.0",
"jest-puppeteer": "^5.0.0",
"jest-styled-components": "^7.0.3",
"prettier": "^2.1.1",
"puppeteer": "^5.2.1",
"react-is": "^16.13.1",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"themeprovider-storybook": "^1.8.0",
"ts-jest": "^26.2.0",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"typescript": "^4.1.3",
"vite": "^5.4.9",
"vite-plugin-dts": "^4.2.4",
"yargs": "^16.0.3"
},
"overrides": {
"styled-react-modal": {
"styled-components": "^5.3.3||^6.1.11"
},
"themeprovider-storybook": {
"react": "^17.0.2||^18.0.0",
"styled-components": "^5.3.3||^6.1.11"
},
"flux": {
"react": "^17.0.2||^18.0.0"
}
}
}