-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
91 lines (91 loc) · 3.23 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
{
"name": "true_false_game_react",
"version": "0.0.1",
"description": "Game where the user has to detect whether something is true or false. For example fake news, phising emails, so on",
"author": "Enrique Barra <[email protected]> and Ana Estrada <[email protected]>",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --hot --host 0.0.0.0",
"clean": "rimraf dist rimraf dist_scorm",
"production": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.production.config.js --progress --profile --colors && cross-env npm run copy_assets",
"copy_assets": "mkdir -p dist/assets && cp -r app/assets dist/ && rm -rf dist/assets/scss",
"scorm_package": "rimraf dist_scorm && cross-env npm run production && cross-env node tasks/scorm_package.js",
"lint": "eslint --fix --ext .js,.jsx,.es6 app/main.js app/components app/config/ app/vendors/I18n.js app/vendors/Utils.js app/constants app/reducers tasks tests",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"precommit": "cross-env npm run lint && npm test",
"prepush": "cross-env npm run lint && npm test"
},
"jest": {
"setupFiles": [
"<rootDir>/shim.js"
],
"mapCoverage": true,
"collectCoverageFrom": [
"app/**/*.{js,jsx,ts,tsx}"
],
"moduleNameMapper": {
"\\.(ejs)$": "<rootDir>/shim.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/shim.js",
"\\.(css|scss|less)$": "<rootDir>/shim.js"
},
"testMatch": [
"**/?(*.)(spec|test).js?(x)"
]
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"cross-env": "5.1.0",
"eslint-plugin-jsx-a11y": "^5.1.0",
"font-awesome": "^4.7.0",
"font-awesome-sass-loader": "^2.0.1",
"fs-extra": "^5.0.0",
"node-sass": "^4.13.1",
"node-sass-json-importer": "^3.3.1",
"react": "16.0.0",
"react-dom": "^16.0.0",
"react-redux": "^5.0.6",
"react-router-dom": "4.2.0",
"react-transition-group": "^2.2.1",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0",
"zip-folder": "^1.0.0"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-loader": "7.1.2",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-react-boilerplate": "1.1.1",
"babel-preset-react-hmre": "1.1.1",
"babel-preset-stage-2": "6.24.1",
"copy-webpack-plugin": "4.1.1",
"css-loader": "0.28.7",
"enzyme": "3.1.0",
"enzyme-adapter-react-16": "1.0.1",
"eslint": "3.19.0",
"eslint-config-airbnb": "15.1.0",
"eslint-loader": "1.8.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "5.1.0",
"eslint-plugin-react": "7.2.0",
"extract-text-webpack-plugin": "3.0.1",
"file-loader": "1.1.4",
"html-webpack-plugin": "2.30.0",
"husky": "0.15.0-beta.2",
"jest": "21.2.0",
"open-browser-webpack-plugin": "0.0.5",
"react-addons-test-utils": "15.6.2",
"react-hot-loader": "3.1.1",
"react-test-renderer": "16.0.0",
"rimraf": "2.6.2",
"sass-loader": "6.0.7",
"style-loader": "0.19.0",
"url-loader": "0.6.1",
"webpack": "3.8.0",
"webpack-dev-server": "2.9.2"
}
}