-
Notifications
You must be signed in to change notification settings - Fork 352
/
package.json
156 lines (156 loc) · 6 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
148
149
150
151
152
153
154
155
156
{
"name": "perseus",
"version": "1.0.1",
"main": "index.js",
"repository": "[email protected]:Khan/perseus.git",
"license": "MIT",
"private": true,
"workspaces": [
"dev",
"packages/*",
"config/build"
],
"engines": {
"node": ">=20"
},
"dependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/eslint-plugin": "^7.22.10",
"@babel/node": "^7.22.19",
"@babel/plugin-transform-runtime": "^7.23.0",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.12",
"@babel/preset-typescript": "^7.23.2",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.22.0",
"@cypress/code-coverage": "^3.12.24",
"@cypress/react": "^8.0.0",
"@jest/globals": "^29.7.0",
"@khanacademy/eslint-config": "^4.0.0",
"@khanacademy/eslint-plugin": "^3.0.0",
"@khanacademy/mathjax-renderer": "^2.1.0",
"@khanacademy/wonder-blocks-button": "6.3.8",
"@khanacademy/wonder-blocks-layout": "2.1.3",
"@khanacademy/wonder-blocks-spacing": "^4.0.1",
"@popperjs/core": "^2.10.2",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@rollup/plugin-replace": "^4.0.0",
"@sheerun/mutationobserver-shim": "^0.3.3",
"@storybook/addon-a11y": "^7.6.17",
"@storybook/addon-actions": "^7.6.17",
"@storybook/addon-controls": "^7.6.17",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-links": "^7.6.17",
"@storybook/addon-viewport": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@swc-node/register": "^1.6.6",
"@swc/core": "^1.3.68",
"@testing-library/dom": "^10.3.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/classnames": "^2.3.1",
"@types/jest": "29",
"@types/jquery": "^3.5.16",
"@types/node": "^20.11.1",
"@types/react": "~18.2.64",
"@types/react-dom": "~18.2.19",
"@types/underscore": "^1.11.4",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"ancesdir": "^3.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"cross-env": "^5.2.0",
"css-loader": "^6.8.1",
"cypress": "^13.6.5",
"cypress-jest-adapter": "^0.1.1",
"cypress-real-events": "^1.12.0",
"cypress-wait-until": "^3.0.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-disable": "^2.0.3",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jsdoc": "^48.2.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-monorepo": "^0.3.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.1.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-testing-library": "^6.2.2",
"fast-glob": "^3.2.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-serializer-html": "^7.1.0",
"jest-specific-snapshot": "^5.0.0",
"knip": "^5.33.3",
"less": "^4.2.0",
"less-loader": "^11.1.3",
"nyc": "^15.1.0",
"prettier": "^3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-json-view": "^1.19.1",
"react-popper": "^2.2.5",
"react-router": "5.3.4",
"react-router-dom": "5.3.4",
"react-transition-group": "^4.4.1",
"react-window": "^1.8.5",
"rollup": "^2.70.2",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-executable-output": "^1.3.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-preserve-shebangs": "^0.2.0",
"rollup-plugin-styles": "^4.0.0",
"sloc": "^0.2.1",
"storybook": "^7.6.17",
"style-loader": "^3.3.3",
"tiny-invariant": "^1.3.1",
"typescript": "^5.4.2",
"typescript-coverage-report": "^0.7.0",
"vite-plugin-istanbul": "^5.0.0",
"vite-plugin-turbosnap": "^1.0.3",
"winston": "^3.7.2"
},
"scripts": {
"gen:parsers": "yarn --cwd packages/kas gen:parsers",
"prebuild": "yarn gen:parsers",
"build": "rollup -c config/build/rollup.config.js",
"build:types": "tsc --build tsconfig-build.json",
"build:prodsizecheck": "yarn build --configEnvironment='production'",
"watch": "yarn build --watch",
"clean": "./utils/clean.sh",
"coverage": "./utils/test-with-coverage.sh",
"dev": "yarn --cwd dev dev",
"lint": "eslint . --ext .js --ext .jsx --ext .ts --ext .tsx",
"lint:timing": "cross-env TIMING=1 yarn lint",
"publish:ci": "utils/pre-publish-check-ci.ts && git diff --stat --exit-code HEAD && yarn build && yarn build:types && changeset publish",
"sloc": "sloc packages --exclude node_modules",
"test": "jest",
"storybook": "storybook dev -p 6006",
"start": "storybook dev -p 6006",
"build-storybook": "storybook build",
"cypress": "cypress open --component",
"cypress:ci": "cross-env cypress run --component",
"format": "prettier --write .",
"typecheck": "tsc",
"knip": "knip --config knip.config.ts"
},
"nyc": {
"report-dir": "coverage/cypress/"
}
}