-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
117 lines (117 loc) · 4.13 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
{
"name": "@constructor-io/constructorio-ui-quizzes",
"version": "0.0.0",
"description": "Constructor.io Quizzes UI library for web applications",
"author": "Constructor.io Corporation",
"license": "MIT",
"homepage": "https://github.com/Constructor-io/constructorio-ui-quizzes#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Constructor-io/constructorio-ui-quizzes.git"
},
"bugs": {
"url": "https://github.com/Constructor-io/constructorio-ui-quizzes/issues"
},
"main": "lib/cjs/index.js",
"module": "lib/mjs/index.js",
"exports": {
"./styles.css": {
"import": "./lib/styles.css",
"require": "./lib/styles.css"
},
"./constructorio-ui-quizzes-bundled": {
"import": "./dist/constructorio-ui-quizzes-bundled.js",
"require": "./dist/constructorio-ui-quizzes-bundled.js"
},
".": {
"import": "./lib/mjs/index.js",
"require": "./lib/cjs/index.js"
},
"./cjs": {
"import": "./lib/cjs/index.js",
"require": "./lib/cjs/index.js"
}
},
"files": [
"lib/**/*",
"dist/constructorio-ui-quizzes-bundled.js"
],
"engines": {
"node": ">=14"
},
"types": "lib/types/index.d.ts",
"scripts": {
"storybook-docs-dev": "storybook dev --docs -p 6007",
"lint": "eslint src --ext js,ts,jsx,tsx",
"check-types": "tsc -p tsconfig-mjs.json --noEmit && tsc -p tsconfig-cjs.json --noEmit",
"copy-styles": "cp src/styles.css lib/styles.css",
"prepare": "husky install",
"dev": "storybook dev -p 6006",
"storybook:ci": "storybook dev --ci --quiet -p 6006",
"test": "jest",
"test-storybook": "test-storybook",
"test-storybook:watch": "test-storybook --watch",
"test-storybook:ci": "start-server-and-test storybook:ci http://localhost:6006 test-storybook",
"build-storybook": "storybook build",
"build-storybook-docs": "storybook build --docs -o 'docs'",
"serve-built-storybook": "npx http-server docs",
"compile": "rm -rf lib && tsc -p tsconfig-mjs.json && tsc -p tsconfig-cjs.json && npm run copy-styles && vite build",
"check-license": "license-checker --production --onlyAllow 'Apache-2.0;BSD-3-Clause;MIT;0BSD;BSD-2-Clause' --excludePackages '[email protected]'"
},
"peerDependencies": {
"@constructor-io/constructorio-client-javascript": "^2.42.3",
"react": ">=16.12.0",
"react-dom": ">=16.12.0",
"tslib": "^2.4.0"
},
"devDependencies": {
"@axe-core/react": "^4.7.0",
"@cspell/eslint-plugin": "^6.18.1",
"@storybook/addon-a11y": "^7.4.6",
"@storybook/addon-actions": "7.4.6",
"@storybook/addon-docs": "7.4.6",
"@storybook/addon-essentials": "7.4.6",
"@storybook/addon-interactions": "^7.4.6",
"@storybook/addon-links": "7.4.6",
"@storybook/jest": "^0.2.3",
"@storybook/react-webpack5": "7.4.6",
"@storybook/test-runner": "0.16.0",
"@storybook/testing-library": "^0.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"chromatic": "^6.21.0",
"eslint": "^8.30.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-no-snapshot-testing": "^1.0.61",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-testing-library": "^6.2.0",
"fishery": "^2.2.2",
"husky": "^8.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fail-on-console": "^3.2.0",
"license-checker": "^25.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"start-server-and-test": "^2.0.0",
"storybook": "^7.6.20",
"ts-jest": "^29.1.2",
"typescript": "^4.9.4",
"vite": "^4.2.1",
"vite-plugin-css-injected-by-js": "^3.1.0",
"webpack": "^5.75.0"
}
}