-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
87 lines (87 loc) · 3.31 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
{
"name": "bloom-player",
"description": "A library for displaying Bloom books in iframes or WebViews",
"author": "SIL Global",
"license": "MIT",
"private": false,
"// sideeffects might need to be ['*.css'] to avoid 'shaking' our CSS, if we ever get tree shaking working": "",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/BloomBooks/bloom-player.git"
},
"type": "module",
"scripts": {
"// COMMENTS: make the action a space rather than empty string so `yarn run` can list the scripts": " ",
"//": " ",
"// 'yarn dev' will build, watch, start a server, and open the player in a brower": " ",
"// You can edit index-for-developing.html to point to different books": " ",
"// Or just use 'yarn storybook' and skip this dev approach entirely": " ",
"dev": "vite",
"build": "vite build",
"test": "vitest",
"// blame.ignoreRevsFile - This allows blame to see through commits that are only there to format code.": " ",
"prepare": "husky install && git config blame.ignoreRevsFile .git-blame-ignore-revs",
"storybook": "storybook dev -p 6006",
"// run this when working with stories that use an iframe and bloomplayer.htm instead of the raw react components": " ",
"watchForStorybook": "yarn vite build --watch --mode development",
"strings:download": "crowdin download --config src/l10n/crowdin.yml && yarn strings:compile",
"strings:upload": "crowdin upload --config src/l10n/crowdin.yml",
"strings:compile": "yarn tsx ./src/l10n/compileL10Strings.ts",
"strings:sync": "yarn strings:upload && yarn strings:download"
},
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"axios": "^0.18.0",
"dynamic-import-polyfill": "^0.1.1",
"jquery.nicescroll": "^3.7.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-id-swiper": "2.3.2",
"style-scoped": "^0.2.1",
"swiper": "^4.5.0"
},
"devDependencies": {
"@crowdin/cli": "^4.2.0",
"@storybook/addon-essentials": "8.4.6",
"@storybook/addon-interactions": "^8.4.6",
"@storybook/addon-links": "8.4.6",
"@storybook/blocks": "8.4.6",
"@storybook/react": "8.4.6",
"@storybook/react-vite": "8.4.6",
"@storybook/test": "8.4.6",
"@types/jquery": "^3.5.5",
"@types/jquery.nicescroll": "^3.7.1",
"@types/node": "^22.7.6",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"editorconfig": "^2.0.0",
"eslint": "^9.12.0",
"eslint-plugin-storybook": "^0.11.1",
"husky": "8.0.3",
"jsdom": "^25.0.1",
"less": "^4.2.0",
"prettier": "^3.3.3",
"semantic-release": "24.1.2",
"storybook": "8.4.6",
"tsx": "^4.19.1",
"typescript": "*",
"vite": "^5.4.9",
"vite-plugin-html": "^3.2.2",
"vite-plugin-static-copy": "^2.0.0",
"vitest": "^2.1.3"
},
"files": [
"dist/*.js",
"dist/bloomplayer.htm",
"dist/*.mp3",
"lib/*.js",
"dist/*.css",
"dist/*.tsv"
],
"volta": {
"node": "20.15.1",
"yarn": "1.22.19"
}
}