forked from Khan/perseus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
155 lines (155 loc) · 5.65 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
{
"name": "perseus",
"version": "1.0.1",
"main": "./dist/perseus-main.js",
"repository": "git@github.com:Khan/perseus.git",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*",
"config/build"
],
"engines": {
"node": ">=16"
},
"devDependencies": {
"@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.11",
"@cypress/react": "^8.0.0",
"@jest/globals": "^29.5.0",
"@khanacademy/eslint-config": "^3.0.1",
"@khanacademy/eslint-plugin": "^2.1.1",
"@khanacademy/wonder-blocks-button": "6.2.5",
"@khanacademy/wonder-stuff-i18n": "^2.1.2",
"@popperjs/core": "^2.10.1",
"@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.4.0",
"@storybook/addon-actions": "^7.4.0",
"@storybook/addon-essentials": "^7.4.0",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/addon-links": "^7.4.0",
"@storybook/addon-viewport": "^7.4.0",
"@storybook/react": "^7.4.0",
"@storybook/react-webpack5": "^7.4.0",
"@swc-node/register": "^1.6.6",
"@swc/core": "^1.3.68",
"@testing-library/dom": "^8.11.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.1.9",
"@types/classnames": "^2.3.1",
"@types/jest": "29",
"@types/jquery": "^3.5.16",
"@types/node": "^18.14.1",
"@types/react": "16",
"@types/react-dom": "16",
"@types/underscore": "^1.11.4",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"ancesdir": "^3.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"clean-webpack-plugin": "4.0.0",
"cross-env": "^5.2.0",
"css-loader": "^6.8.1",
"cypress": "^13.6.0",
"cypress-jest-adapter": "^0.1.1",
"cypress-wait-until": "^2.0.1",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"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.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-react-native": "^3.10.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-testing-library": "^5.0.0",
"fast-glob": "^3.2.11",
"jest": "^29.0.1",
"jest-environment-jsdom": "^28.0.2",
"jest-extended": "^2.0.0",
"jest-serializer-html": "^7.1.0",
"jest-specific-snapshot": "^5.0.0",
"less": "^4.2.0",
"less-loader": "^11.1.3",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"react-json-view": "^1.19.1",
"react-popper": "^2.0.0",
"react-router": "5.2.1",
"react-router-dom": "5.3.0",
"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.5.3",
"style-loader": "^3.3.3",
"svg-inline-loader": "^0.8.2",
"ts-loader": "9.5.1",
"tsconfig-paths-webpack-plugin": "4.1.0",
"typescript": "4.9.5",
"typescript-coverage-report": "^0.7.0",
"webpack": "5",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.9.0",
"winston": "^3.7.2"
},
"resolutions": {
"@types/jest": "29",
"@types/react": "16",
"@types/react-dom": "16"
},
"scripts": {
"gen:parsers": "yarn --cwd packages/kas gen:parsers",
"prebuild": "yarn gen:parsers",
"build": "rollup -c config/build/rollup.config.js",
"build:types": "yarn tsc --build tsconfig-build.json",
"build:prodsizecheck": "yarn build --configEnvironment='production'",
"watch": "yarn build --watch",
"clean": "rm -rf packages/*/dist && rm -rf packages/*/node_modules && rm -rf .nyc_output && rm -f packages/*/*.tsbuildinfo",
"coverage": "cross-env NODE_OPTIONS=--max_old_space_size=8192 yarn run jest --coverage",
"coverage:types": "cross-env NODE_OPTIONS=--max_old_space_size=8192 typescript-coverage-report",
"extract-strings": "utils/extract-strings.ts",
"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 && yarn extract-strings && changeset publish",
"sloc": "sloc packages --exclude node_modules",
"test": "yarn jest",
"storybook": "storybook dev -p 6006",
"start": "storybook dev -p 6006",
"build-storybook": "storybook build",
"cypress": "cypress open --component",
"cypress:ci": "cross-env BABEL_COVERAGE=1 cypress run --component --env CYPRESS_COVERAGE=1",
"format": "prettier --write .",
"typecheck": "tsc"
}
}