forked from BloomBooks/bloom-player
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
119 lines (119 loc) · 4.77 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
{
"name": "bloom-player",
"description": "A library for displaying Bloom books in iframes or WebViews",
"author": "SIL International",
"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"
},
"scripts": {
"// COMMENTS: make the action a space rather than empty string so `yarn run` can list the scripts": " ",
"//": " ",
"// start will build, watch, start a server, and open a chrome browser with CORS disabled": " ",
"// you can edit index-for-developing.html to point to different books": " ",
"start": "concurrently npm:start-webpack-serve npm:chrome",
"start-webpack-serve": "yarn webpack-dev-server",
"storybook": "concurrently npm:storybook-inner npm:chrome-on-storybook-port",
"storybook-inner": "start-storybook --static-dir ./,./src/activities,./src/activities/legacyQuizHandling -p 9009 --ci",
"// if you are testing with a book hosted online, you will have to load chrome with these args (because of CORS restrictions)": " ",
"chrome": "chrome http://localhost:8080/ --disable-web-security --disable-gpu --user-data-dir=%temp%/chromeTemp",
"chrome-on-storybook-port": "chrome http://localhost:9009/ --disable-web-security --disable-gpu --user-data-dir=%temp%/chromeTemp",
"// note: shx cp is the same as unix cp, but cross platform. So a bit different semantics than Windows copy": " ",
"build": "shx rm -rf dist/ && webpack --config webpack-config-prod.js",
"build-dev": "shx rm -rf dist/ && webpack --config webpack.config.js",
"tslint": "tslint --project tsconfig.json",
"test": "jest",
"test-storybook": "test-storybook --url http://localhost:9009",
"prepare": "husky install"
},
"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": "^16.8.5",
"react-dom": "^16.8.5",
"react-id-swiper": "2.3.2",
"style-scoped": "^0.2.1",
"swiper": "^4.5.0"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.3.3",
"@crowdin/crowdin-api-client": "^1.10.4",
"@storybook/addon-a11y": "^6.5.13",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-interactions": "^6.5.13",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-links": "^6.5.13",
"@storybook/addon-viewport": "^6.5.13",
"@storybook/addons": "^6.5.13",
"@storybook/jest": "^0.0.10",
"@storybook/react": "^6.5.13",
"@storybook/test-runner": "^0.9.1",
"@storybook/testing-library": "^0.0.13",
"@types/jest": "^27.4.0",
"@types/jquery": "^3.5.5",
"@types/jquery.nicescroll": "^3.7.1",
"@types/node": "^16.3.1",
"@types/react": "^16.9.1",
"@types/react-dom": "^16.8.5",
"@types/storybook__react": "^4.0.2",
"babel-jest": "^27.4.6",
"babel-loader": "^8.0.6",
"before-build-webpack": "^0.2.11",
"concurrently": "^4.1.1",
"copy-webpack-plugin": "^5.0.4",
"css-loader": "^2.1.1",
"editorconfig": "^0.15.3",
"eslint": "^8.4.1",
"file-loader": "^3.0.1",
"globule": "^1.2.1",
"html-webpack-plugin": "^3.2.0",
"husky": "8",
"jest": "^27.4.7",
"jest-teamcity-reporter": "^0.9.0",
"jest-transform-css": "^3.0.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"prettier": "^1.16.4",
"raw-loader": "^3.1.0",
"semantic-release": "19.0.5",
"shx": "^0.3.2",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^1.3.0",
"ts-jest": "^27.1.3",
"ts-loader": "^5.3.3",
"tslint": "^5.15.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "*",
"url-loader": "^1.1.2",
"webpack": "^4.39.2",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^4.2.1",
"yarn": "^1.15.2"
},
"files": [
"dist/*.js",
"dist/bloomplayer.htm",
"dist/*.mp3",
"lib/*.js",
"dist/*.css",
"dist/*.tsv"
],
"volta": {
"node": "16.14.0",
"yarn": "1.22.19"
}
}