forked from Khan/wonder-blocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 5.72 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"private": true,
"name": "wonder-blocks",
"version": "0.0.1",
"description": "React components for Wonder Blocks design system.",
"main": "index.js",
"engines": {
"node": ">=16"
},
"scripts": {
"alex": "alex packages/",
"build": "rollup -c ./build-settings/rollup.config.js",
"build:types": "yarn tsc --build tsconfig-build.json && node -r @swc-node/register build-settings/remove-test-types-from-dist.ts",
"build:storybook": "storybook build",
"clean": "rm -rf packages/wonder-blocks-*/dist && rm -rf packages/wonder-blocks-*/node_modules && rm -f packages/*/*.tsbuildinfo && rm -f utils/tsconfig.tsbuildinfo",
"coverage": "yarn run test:coverage && open coverage/lcov-report/index.html",
"coveragefor": "bash -c 'yarn --silent jest --coverage --collectCoverageFrom=**/$0 $(node ./utils/test-file-for.js \"$0\")'",
"coverage:ci": "yarn run jest --coverage",
"coverage:types": "typescript-coverage-report",
"format": "prettier --write packages/**/*.ts packages/**/*.tsx",
"jest": "jest --config config/jest/test.config.js",
"lint:pkg-json": "yarn npmPkgJsonLint ./packages",
"lint:watch": "esw --watch --config ./eslint/eslintrc packages",
"lint": "yarn lint:ci .",
"lint:ci": "eslint --ext .ts --ext .js --ext .tsx --ext .jsx",
"publish:ci": "yarn run lint:pkg-json && node utils/publish/pre-publish-check-ci.js && git diff --stat --exit-code HEAD && yarn build && yarn build:types && changeset publish",
"start": "storybook dev -p 6061",
"test:common": "yarn run build && yarn run lint && yarn run alex && yarn run typecheck",
"test:coverage": "yarn run test:common && yarn run jest --coverage",
"test": "yarn run test:common && yarn run jest",
"typecheck": "tsc",
"typewatch": "tsc --noEmit --watch --incremental",
"add:devdepbysha": "bash -c 'yarn add -W --dev \"git+https://[email protected]/Khan/$0.git#$1\"'"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.21.8",
"@babel/eslint-parser": "^7.21.8",
"@babel/eslint-plugin": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-classes": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/plugin-transform-spread": "7.20.7",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@changesets/cli": "^2.26.1",
"@khanacademy/eslint-config": "^2.0.0",
"@khanacademy/eslint-plugin": "^2.0.0",
"@khanacademy/wonder-stuff-testing": "^3.0.1",
"@rollup/plugin-node-resolve": "^15.0.2",
"@storybook/addon-a11y": "^7.5.1",
"@storybook/addon-designs": "^7.0.5",
"@storybook/addon-docs": "^7.5.1",
"@storybook/addon-essentials": "^7.5.1",
"@storybook/addon-interactions": "^7.5.1",
"@storybook/addon-mdx-gfm": "^7.5.1",
"@storybook/jest": "^0.2.3",
"@storybook/react": "^7.5.1",
"@storybook/react-vite": "^7.5.1",
"@storybook/testing-library": "^0.2.2",
"@swc-node/register": "^1.6.5",
"@swc/core": "^1.3.36",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "29",
"@types/jscodeshift": "^0.11.11",
"@types/node": "^18.14.1",
"@types/react": "16",
"@types/react-dom": "16",
"@types/react-router": "5",
"@types/react-router-dom": "5",
"@types/react-test-renderer": "^18.0.0",
"@types/react-window": "^1.8.5",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"alex": "^11.0.0",
"babel-jest": "29.5.0",
"babel-loader": "^8.2.3",
"babel-plugin-dynamic-import-node": "^2.3.3",
"chromatic": "^6.0.4",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-jsdoc": "^44.2.3",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-monorepo": "^0.3.2",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-testing-library": "^5.0.0",
"eslint-watch": "^8.0.0",
"fast-glob": "^3.2.12",
"jest": "^29.5.0",
"jest-date-mock": "^1.0.8",
"jest-environment-jsdom": "^28.1.2",
"jest-extended": "^3.2.4",
"jscodeshift": "^0.15.1",
"npm-package-json-lint": "^6.4.0",
"prettier": "^2.8.1",
"react-refresh": "^0.14.0",
"react-test-renderer": "^17.0.2",
"rollup": "^2.79.1",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-babel": "^4.0.0-beta.2",
"storybook": "^7.5.1",
"storybook-addon-pseudo-states": "^2.1.2",
"typescript": "^4.9.5",
"typescript-coverage-report": "^0.7.0",
"vite": "^4.4.8",
"vite-plugin-turbosnap": "^1.0.2"
},
"dependencies": {
"@babel/runtime": "^7.18.6",
"@khanacademy/wonder-stuff-core": "^1.5.1",
"@phosphor-icons/core": "^2.0.2",
"@popperjs/core": "^2.11.5",
"aphrodite": "^1.2.5",
"moment": "2.29.4",
"node-fetch": "^2.6.7",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-popper": "^2.3.0",
"react-router": "5.2.1",
"react-router-dom": "5.3.0",
"react-window": "^1.8.7"
},
"workspaces": [
"packages/*",
"build-settings",
"wb-codemod"
],
"resolutions": {
"@types/react": "16",
"@types/react-dom": "16",
"strip-ansi": "6.0.1",
"strip-ansi-explanation": "There's an issue with strip-ansi v7 which causes conflicts with the Khan/changeset-per-package action"
}
}