This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
106 lines (106 loc) · 3.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
{
"name": "dp-map-builder-ui",
"version": "1.0.13",
"homepage": "https://www.npmjs.com/package/dp-map-builder-ui",
"description": "Map builder implentation",
"main": "dist/index.js",
"scripts": {
"start": "webpack-dev-server",
"clean": "rimraf dist",
"build": "babel src -d dist && npm run csscopy && npm run datacopy",
"csscopy": "copyfiles -u 1 src/**/*.scss dist",
"datacopy": "copyfiles -u 1 src/components/data/* dist",
"production": "cross-env npm run clean && webpack --config webpack.production.config.js --progress --profile --colors",
"lint": "eslint ./src/**/**.js",
"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",
"prepare": "npm run build"
},
"author": "ons-digital-publishing",
"contributors": [
"Mas Ahmad <masahmad7@gmail.com>"
],
"repository": "github:ONSdigital/dp-map-builder-ui",
"license": "MIT",
"jest": {
"setupFiles": [
"<rootDir>/config/jest/shim.js"
],
"mapCoverage": true,
"collectCoverageFrom": [
"app/**/*.{js,jsx,ts,tsx}"
],
"modulePathIgnorePatterns": [
"test-app"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/assetsTransformer.js",
"\\.(css|less)$": "<rootDir>/config/jest/assetsTransformer.js"
},
"testMatch": [
"**/?(*.)(spec|test).js?(x)"
],
"transform": {
"\\.js$": "babel-jest"
},
"globals": {
"__HOT_BUILD_DATE__": "",
"__HOT_PACKAGE_NAME__": "",
"__HOT_VERSION__": "",
"__HOT_BASE_VERSION__": ""
}
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"cross-env": "5.1.2",
"file-saver": "^1.3.3",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-hot-loader": "4.0.0-beta.1",
"react-router-dom": "4.2.2",
"react-upload-file": "^2.0.0-beta.6"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.1.2",
"babel-jest": "22.0.6",
"babel-loader": "7.1.2",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"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.3.0",
"copyfiles": "^1.0.0",
"core-js": "^2.5.3",
"css-loader": "0.28.8",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"eslint": "4.13.0",
"eslint-config-airbnb": "16.1.0",
"eslint-loader": "1.9.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-react": "7.5.1",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.6",
"html-webpack-plugin": "2.30.1",
"husky": "0.15.0-beta.2",
"jest": "22.1.0",
"node-sass": "4.7.2",
"open-browser-webpack-plugin": "0.0.5",
"react-addons-test-utils": "15.6.2",
"react-test-renderer": "16.2.0",
"rimraf": "2.6.2",
"sass-loader": "6.0.6",
"style-loader": "0.19.1",
"url-loader": "0.6.2",
"webpack": "3.10.0",
"webpack-dev-server": "2.9.6"
}
}