2014-10-03 01:14:41 +08:00
|
|
|
{
|
2016-03-10 09:30:36 +08:00
|
|
|
"name": "bbb-html5-client",
|
|
|
|
"description": "BigBlueButton HTML5 Client",
|
2014-10-03 01:14:41 +08:00
|
|
|
"scripts": {
|
2017-06-15 12:20:52 +08:00
|
|
|
"start": "if test \"$NODE_ENV\" = \"production\" ; then npm run start:prod; else npm run start:dev; fi",
|
2018-01-10 00:36:21 +08:00
|
|
|
"test-visual-regression": "export BROWSER_NAME=firefox; wdio ./tests/webdriverio/wdio.vreg.conf.js; export BROWSER_NAME=chrome; wdio ./tests/webdriverio/wdio.vreg.conf.js; export BROWSER_NAME=chrome_mobile; DEVICE_NAME='iPhone 6 Plus'; export DEVICE_NAME; wdio ./tests/webdriverio/wdio.vreg.conf.js; DEVICE_NAME='Nexus 5X'; export DEVICE_NAME; wdio ./tests/webdriverio/wdio.vreg.conf.js",
|
2018-01-17 00:25:04 +08:00
|
|
|
"generate-refs-visual-regression": "rm -rf tests/webdriverio/screenshots; npm run test-visual-regression",
|
2018-01-10 00:36:21 +08:00
|
|
|
"test-visual-regression-desktop": "export BROWSER_NAME=firefox; wdio ./tests/webdriverio/wdio.vreg.conf.js; export BROWSER_NAME=chrome; wdio ./tests/webdriverio/wdio.vreg.conf.js",
|
2018-01-17 00:25:04 +08:00
|
|
|
"generate-refs-visual-regression-desktop": "rm -rf tests/webdriverio/screenshots; npm run test-visual-regression-desktop",
|
2018-01-08 08:24:05 +08:00
|
|
|
"start:prod": "meteor reset && ROOT_URL=http://127.0.0.1/html5client NODE_ENV=production meteor --production --settings private/config/settings-production.json",
|
|
|
|
"start:dev": "ROOT_URL=http://127.0.0.1/html5client NODE_ENV=development meteor --settings private/config/settings-development.json",
|
2017-06-06 07:38:03 +08:00
|
|
|
"test": "wdio ./tests/webdriverio/wdio.conf.js",
|
2017-06-06 02:05:46 +08:00
|
|
|
"lint": "eslint . --ext .jsx,.js",
|
|
|
|
"precommit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"gitDir": "../",
|
2017-10-24 08:20:57 +08:00
|
|
|
"linters": {
|
2017-10-26 07:11:06 +08:00
|
|
|
"*.{js,jsx}": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
2017-10-24 08:20:57 +08:00
|
|
|
}
|
2014-10-03 01:14:41 +08:00
|
|
|
},
|
2016-03-10 09:30:36 +08:00
|
|
|
"dependencies": {
|
2017-10-24 08:09:40 +08:00
|
|
|
"babel-runtime": "~6.26.0",
|
2018-01-08 14:17:18 +08:00
|
|
|
"//": [
|
|
|
|
"core-js is included with babel-runtime",
|
|
|
|
"but Meteor 1.6.0.1 doesn't see it there for some reason",
|
|
|
|
"need to investigate"
|
|
|
|
],
|
|
|
|
"core-js": "~2.5.3",
|
2017-10-24 08:09:40 +08:00
|
|
|
"classnames": "~2.2.5",
|
|
|
|
"clipboard": "~1.7.1",
|
|
|
|
"eventemitter2": "~4.1.2",
|
|
|
|
"flat": "~4.0.0",
|
|
|
|
"hiredis": "~0.5.0",
|
2017-03-03 03:06:51 +08:00
|
|
|
"history": "~3.3.0",
|
2017-10-24 08:09:40 +08:00
|
|
|
"immutability-helper": "~2.4.0",
|
2017-12-21 00:10:01 +08:00
|
|
|
"langmap": "0.0.16",
|
2017-05-04 00:36:16 +08:00
|
|
|
"lodash": "~4.17.4",
|
2017-10-24 08:09:40 +08:00
|
|
|
"meteor-node-stubs": "~0.3.2",
|
|
|
|
"node-sass": "~4.5.3",
|
|
|
|
"probe-image-size": "~3.1.0",
|
|
|
|
"prop-types": "~15.6.0",
|
|
|
|
"react": "~16.0.0",
|
|
|
|
"react-autosize-textarea": "~0.4.9",
|
|
|
|
"react-color": "~2.13.8",
|
|
|
|
"react-dom": "~16.0.0",
|
|
|
|
"react-dropzone": "~4.2.1",
|
|
|
|
"react-intl": "~2.4.0",
|
|
|
|
"react-modal": "~3.0.4",
|
2017-03-03 02:59:44 +08:00
|
|
|
"react-router": "~3.0.2",
|
2017-10-24 08:09:40 +08:00
|
|
|
"react-tabs": "~2.1.0",
|
2017-10-25 07:14:36 +08:00
|
|
|
"react-toastify": "~2.1.2",
|
2017-12-05 03:43:08 +08:00
|
|
|
"react-toggle": "~4.0.2",
|
2017-10-26 07:11:06 +08:00
|
|
|
"react-transition-group": "~2.2.1",
|
2017-10-24 08:09:40 +08:00
|
|
|
"redis": "~2.8.0",
|
|
|
|
"string-hash": "~1.1.3",
|
2018-01-08 14:17:18 +08:00
|
|
|
"tippy.js": "~2.0.2",
|
2017-10-24 08:09:40 +08:00
|
|
|
"winston": "~2.4.0",
|
2018-01-30 05:48:15 +08:00
|
|
|
"winston-daily-rotate-file": "^1.7.2",
|
2017-10-24 08:09:40 +08:00
|
|
|
"xml2js": "~0.4.19"
|
2016-03-10 09:30:36 +08:00
|
|
|
},
|
2014-10-03 01:14:41 +08:00
|
|
|
"devDependencies": {
|
2017-10-24 08:09:40 +08:00
|
|
|
"autoprefixer": "~7.1.6",
|
2017-11-04 15:38:44 +08:00
|
|
|
"babel-plugin-react-remove-properties": "~0.2.5",
|
2017-10-24 08:09:40 +08:00
|
|
|
"chai": "~4.1.2",
|
|
|
|
"eslint": "~4.9.0",
|
|
|
|
"eslint-config-airbnb": "~16.1.0",
|
|
|
|
"eslint-config-airbnb-base": "~12.1.0",
|
|
|
|
"eslint-plugin-import": "~2.8.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "~6.0.2",
|
|
|
|
"eslint-plugin-react": "~7.4.0",
|
|
|
|
"husky": "~0.14.3",
|
|
|
|
"lint-staged": "~4.3.0",
|
2017-06-04 10:56:07 +08:00
|
|
|
"postcss-modules-extract-imports": "1.1.0",
|
|
|
|
"postcss-modules-local-by-default": "1.2.0",
|
|
|
|
"postcss-modules-scope": "1.1.0",
|
|
|
|
"postcss-modules-values": "1.3.0",
|
2017-10-24 08:09:40 +08:00
|
|
|
"postcss-nested": "2.1.2",
|
|
|
|
"wdio-jasmine-framework": "~0.3.2",
|
|
|
|
"wdio-junit-reporter": "~0.3.1",
|
|
|
|
"wdio-spec-reporter": "~0.1.2",
|
2017-11-04 01:31:53 +08:00
|
|
|
"wdio-visual-regression-service": "~0.8.0",
|
2017-11-04 04:51:14 +08:00
|
|
|
"webdriver-manager": "~12.0.6",
|
2017-10-24 08:09:40 +08:00
|
|
|
"webdriverio": "~4.8.0"
|
2016-04-28 02:30:45 +08:00
|
|
|
},
|
|
|
|
"cssModules": {
|
2016-05-03 06:42:54 +08:00
|
|
|
"extensions": [
|
|
|
|
"scss"
|
2016-07-11 20:34:58 +08:00
|
|
|
],
|
|
|
|
"postcssPlugins": {
|
|
|
|
"postcss-nested": {},
|
|
|
|
"postcss-modules-local-by-default": {},
|
|
|
|
"postcss-modules-extract-imports": {},
|
|
|
|
"postcss-modules-scope": {},
|
|
|
|
"autoprefixer": {}
|
|
|
|
}
|
2014-10-03 01:14:41 +08:00
|
|
|
}
|
|
|
|
}
|