-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathpackage.json
82 lines (82 loc) · 2.78 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
{
"name": "RESCORM",
"version": "0.0.2",
"description": "A boilerplate for creating SCORM-compliant React applications",
"author": "Aldo Gordillo <[email protected]>",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server",
"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": "cross-env mkdir -p dist/assets && cross-env cp -r app/assets dist/ && cross-env 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": {
"cross-env": "5.1.0",
"fs-extra": "^5.0.0",
"react": "16.10.2",
"react-dom": "^16.10.2",
"react-redux": "^5.0.6",
"react-router-dom": "^5.1.2",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
"zip-folder": "^1.0.0"
},
"devDependencies": {
"@babel/core": "7.0.0",
"@babel/preset-react": "^7.6.3",
"@babel/preset-env": "^7.6.3",
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-eslint": "7.2.3",
"babel-loader": "8.0.6",
"babel-polyfill": "^6.26.0",
"copy-webpack-plugin": "5.0.4",
"css-loader": "0.28.7",
"enzyme": "3.1.0",
"enzyme-adapter-react-16": "1.0.1",
"eslint": "6.6.0",
"eslint-loader": "^3.0.2",
"eslint-plugin-react": "^7.16.0",
"file-loader": "4.2.0",
"html-webpack-plugin": "3.2.0",
"husky": "0.15.0-beta.2",
"jest": "21.2.0",
"mini-css-extract-plugin": "^0.8.0",
"node-sass": "4.13.0",
"open-browser-webpack-plugin": "0.0.5",
"react-hot-loader": "^4.12.15",
"react-test-renderer": "16.0.0",
"@hot-loader/react-dom": "^16.8.6",
"rimraf": "2.6.2",
"sass-loader": "8.0.0",
"style-loader": "0.19.0",
"url-loader": "0.6.1",
"webpack": "4.41.2",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "3.9.0"
}
}