forked from learningequality/studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
170 lines (170 loc) · 7.25 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "studio",
"version": "0.0.1",
"private": true,
"description": "Frontend build tools and development utilities for Kolibri Studio",
"scripts": {
"lint:py": "flake8 --exit-zero",
"lint": "kolibri-tools lint",
"lint-all": "yarn run lint -p 'contentcuration/contentcuration/frontend/**/*.{js,vue,scss,less,css}'",
"lint-all:fix": "yarn run lint-all -w",
"lint:fix": "yarn run lint -w",
"lint:watch": "yarn lint-all -w -m",
"makemessages": "node ./node_modules/kolibri-tools/lib/i18n/ExtractMessages.js --project=studio",
"combineprofiles": "node ./node_modules/kolibri-tools/lib/combineStringProfiles.js ./contentcuration/locale/en/LC_MESSAGES/profiles/",
"transfercontext": "APP_NAME=contentcuration node ./node_modules/kolibri-tools/lib/i18n/SyncContext.js run && yarn lint-all:fix",
"build": "webpack --env.prod --config webpack.config.js",
"cypress:run": "wait-on -t 20000 tcp:8081 && cypress run --spec cypress/integration/login.js",
"cypress:test": "yarn run build && npm-run-all --parallel --race testserver cypress:run",
"pytest": "cd contentcuration; pytest --cov-report=xml --cov=./",
"pytest:reusedb": "cd contentcuration; pytest --reuse-db",
"postgres": "pg_ctl -D /usr/local/var/postgresql@9.6 start || true",
"redis": "redis-server /usr/local/etc/redis.conf || true",
"devsetup": "cd contentcuration && python manage.py setup --settings=contentcuration.dev_settings",
"services": "npm-run-all -c --parallel --silent celery celery:dashboard minio redis postgres",
"unittests": "yarn run build && yarn run pytest && yarn run test-jest",
"unittests:reusedb": "npm-run-all --parallel --race services pytest:reusedb",
"apptests": "npm-run-all --parallel --race services cypress:test",
"test": "npm-run-all unittests apptests",
"build:dev": "webpack-dev-server --env.dev --config webpack.config.js --watch --progress --host 0.0.0.0",
"build:dev:hot": "yarn run build:dev --hot --env.hot",
"test-jest:dev": "yarn run test-jest --watch",
"test-jest": "jest --config jest_config/jest.conf.js",
"test-jest:debug": "node --inspect node_modules/.bin/jest --runInBand --watch",
"test-jest-cov": "jest --config jest_config/jest.conf.js --coverage",
"minio:test": "rm -rf ~/.minio_test && minio server ~/.minio_test/ || true",
"minio": "MINIO_API_CORS_ALLOW_ORIGIN='http://localhost:8080,http://127.0.0.1:8080' MINIO_ACCESS_KEY=development MINIO_SECRET_KEY=development minio server ~/.minio_data/ || true",
"runserver": "cd contentcuration && python manage.py runserver --settings=contentcuration.dev_settings 0.0.0.0:8080",
"runserver:debug-panel": "cd contentcuration && python manage.py runserver --settings=contentcuration.debug_panel_settings 0.0.0.0:8080",
"gunicornserver": "cd contentcuration && DJANGO_SETTINGS_MODULE=contentcuration.profile_settings gunicorn -b 0.0.0.0:8080 --workers=3 --threads=2 contentcuration.wsgi",
"testserver": "cd contentcuration && python manage.py runserver --settings=contentcuration.test_settings 0.0.0.0:8081",
"devserver": "npm-run-all --parallel build:dev runserver",
"localprodserver": "npm-run-all build gunicornserver",
"devserver:hot": "npm-run-all --parallel build:dev:hot runserver",
"devshell": "cd contentcuration && python manage.py shell --settings=contentcuration.dev_settings",
"celery:dashboard": "cd contentcuration && celery -A contentcuration flower",
"celery": "(cd contentcuration && DJANGO_SETTINGS_MODULE=contentcuration.dev_settings celery -A contentcuration worker --without-mingle --without-gossip -l info) || true",
"storybook": "start-storybook",
"storybook:debug": "start-storybook --debug-webpack",
"storybook:build": "build-storybook"
},
"repository": {
"type": "git",
"url": "git+https://github.com/learningequality/studio.git"
},
"keywords": [
"education",
"content",
"learning",
"edtech"
],
"author": "Learning Equality",
"license": "MIT",
"bugs": {
"url": "https://github.com/learningequality/studio/issues"
},
"homepage": "https://github.com/learningequality/studio#readme",
"dependencies": {
"@sentry/browser": "^5.9.1",
"@toast-ui/editor": "^2.3.1",
"axios": "^0.21.1",
"broadcast-channel": "^3.0.3",
"clipboard-polyfill": "^2.8.1",
"core-js": "^3.6.5",
"croppie": "^2.4.1",
"dexie": "^3.0.2",
"dexie-observable": "3.0.0-beta.9",
"epubjs": "^0.3.88",
"file-saver": "^2.0.2",
"html2canvas": "^1.0.0-rc.5",
"i18n-iso-countries": "^5.1.0",
"jquery": "^2.2.4",
"jspdf": "git://github.com/MrRio/jsPDF.git#b7a1d8239c596292ce86dafa77f05987bcfa2e6e",
"jszip": "^2.5.0",
"jszip-utils": "0.0.2",
"kolibri-tools": "^0.14.5-dev.4",
"lodash": "^4.17.19",
"marked": "^0.3.5",
"material-design-icons": "^3.0.1",
"material-icons": "^0.3.1",
"mathquill": "^0.10.1-a",
"mutex-js": "^1.1.5",
"node-vibrant": "^3.1.6",
"papaparse": "^5.2.0",
"pdfjs-dist": "^2.2.228",
"qs": "^6.9.1",
"regenerator-runtime": "^0.13.5",
"showdown": "^1.9.1",
"spark-md5": "^3.0.0",
"store2": "^2.11.0",
"to-markdown": "^3.0.3",
"unload": "^2.2.0",
"uuid": "^3.3.3",
"vue": "^2.6.12",
"vue-croppa": "^1.3.8",
"vue-custom-element": "https://github.com/learningequality/vue-custom-element.git#master",
"vue-intl": "^3.0.0",
"vuetify": "^1.5.24",
"vuex": "^3.0.1",
"workbox-window": "^5.1.4"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.9.5",
"@storybook/vue": "^5.3.18",
"@vue/test-utils": "1.0.0-beta.29",
"autoprefixer": "^9.6.1",
"babel-jest": "^26.0.1",
"babel-loader": "^8.1.0",
"babel-preset-vue": "^2.0.2",
"circular-dependency-plugin": "^5.2.0",
"clean-webpack-plugin": "^0.1.19",
"commander": "^2.11.0",
"css-loader": "^0.28.11",
"cypress": "^3.0.1",
"eslint-import-resolver-webpack": "^0.11.1",
"espree": "^5.0.0",
"fake-indexeddb": "^3.0.0",
"file-loader": "^4.0.0",
"flush-promises": "^1.0.2",
"glob": "^7.1.2",
"identity-obj-proxy": "^3.0.0",
"imports-loader": "^0.8.0",
"jest": "^26.0.1",
"jest-each": "^24.8.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-serializer-vue": "^2.0.2",
"kolibri-design-system": "git+https://github.com/learningequality/kolibri-design-system#v0.2.x",
"less": "^3.0.1",
"less-loader": "^5.0.0",
"mini-css-extract-plugin": "^0.4.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.3",
"optimize-css-assets-webpack-plugin": "^4.0.2",
"postcss-loader": "^3.0.0",
"style-loader": "^0.20.3",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"terser-webpack-plugin": "^2.3.5",
"url-loader": "^2.0.0",
"vue-jest": "^4.0.0-beta.3",
"vue-loader": "^15.9.1",
"vue-template-compiler": "^2.6.12",
"vuetify-loader": "^1.2.2",
"wait-on": "^2.1.0",
"webpack": "^4.5.0",
"webpack-bundle-tracker": "^0.3.0",
"webpack-cli": "^3.3.4",
"webpack-dev-server": "^3.7.1",
"webpack-rtl-plugin": "^1.6.0",
"workbox-webpack-plugin": "^5.1.3"
},
"false": {},
"peerDependencies": {},
"engines": {
"node": "10.x",
"npm": ">= 3"
}
}