This repository has been archived by the owner on Jan 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
100 lines (100 loc) · 3.55 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
{
"name": "file-format-verification-tool",
"version": "0.0.0",
"description": "Tool for client-side verification of HMDA file parsing.",
"main": "index.js",
"engines": {
"node": ">=7.x"
},
"scripts": {
"test": "jest --coverage",
"snyk": "snyk test",
"clean": "rimraf ./dist && mkdirp ./dist ./dist/js ./dist/css ./dist/fonts ./dist/img",
"js": "rimraf ./dist/js/app.min.js.map && browserify -d -t [ babelify --presets [ es2015 react ] --plugins [ babel-plugin-transform-object-rest-spread ] ] -p [ minifyify --map app.min.js.map --output ./dist/js/app.min.js.map --uglify [ -cm ] ] ./src/js/index.js > ./dist/js/app.min.js",
"sass": "node-sass --quiet --output-style=compressed --source-map-embed --source-map=./dist/css/ ./src/sass/app.scss ./dist/css/app.min.css && cp node_modules/uswds/src/fonts/sourcesanspro-* ./dist/fonts",
"html": "html-minifier --collapse-whitespace ./src/index.html -o ./dist/index.html",
"img": "imagemin ./src/img/* -o ./dist/img && cp -r ./node_modules/uswds/dist/img ./dist",
"postinstall": "npm run clean && npm run build",
"watch:js": "nodemon --exitcrash -e js,jsx -w src/js -x 'npm run js'",
"watch:tests": "nodemon --exitcrash -e js -w __tests__ -x 'jest --coverage -o'",
"watch:sass": "nodemon --exitcrash -e scss -w src/sass -x 'npm run sass'",
"watch:html": "nodemon --exitcrash -e html -w src -x 'npm run html'",
"watch": "npm run watch:js & npm run watch:tests & npm run watch:sass & npm run watch:html",
"build": "npm run js && npm run sass && npm run html && npm run img"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cfpb/hmda-platform-tools.git"
},
"keywords": [
"HMDA"
],
"author": "Consumer Financial Protection Bureau",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/cfpb/hmda-platform-tools/issues"
},
"homepage": "https://github.com/cfpb/hmda-platform-tools#readme",
"devDependencies": {
"babel-jest": "17.0.2",
"babel-plugin-transform-object-rest-spread": "6.19.0",
"babel-polyfill": "6.16.0",
"babel-preset-es2015": "6.18.0",
"babel-preset-react": "6.16.0",
"babelify": "7.3.0",
"browserify": "13.1.1",
"html-minifier": "3.1.1",
"imagemin": "5.2.2",
"imagemin-cli": "3.0.0",
"jest-cli": "18.1.0",
"minifyify": "7.3.4",
"mkdirp": "0.5.1",
"node-sass": "3.13.0",
"nodemon": "1.11.0",
"react-addons-test-utils": "15.4.0",
"react-dom": "15.4.0",
"reactify": "1.1.1",
"redux-mock-store": "1.2.1",
"rimraf": "2.5.4",
"snyk": "1.19.1",
"uglify-js": "2.7.4"
},
"browserify": {
"transform": [
"reactify",
"babelify"
]
},
"jest": {
"transform": {
".*": "<rootDir>/node_modules/babel-jest"
},
"testPathIgnorePatterns": [
"<rootDir>/__tests__/Wrapper.js"
],
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/lodash",
"<rootDir>/node_modules/react-dom",
"<rootDir>/node_modules/react-addons-test-utils",
"<rootDir>/node_modules/redux-mock-store",
"<rootDir>/node_modules/redux-thunk",
"<rootDir>/node_modules/fbjs",
"<rootDir>/__tests__/Wrapper.js"
]
},
"dependencies": {
"filereader-stream": "1.0.0",
"hmda-file-parser": "1.0.x",
"immutable": "3.8.1",
"react": "15.4.0",
"react-dropzone": "3.11.0",
"react-redux": "4.4.6",
"react-select": "0.9.1",
"redux": "3.6.0",
"redux-logger": "2.7.4",
"redux-thunk": "2.1.0",
"split2": "2.1.1",
"uswds": "0.14.0"
}
}