UPDATE package.json
This commit is contained in:
parent
8c0356159f
commit
2acf3bbf2d
@ -101,6 +101,7 @@ body {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
img {
|
||||
height: 300px;
|
||||
|
||||
59
package.json
59
package.json
@ -15,42 +15,41 @@
|
||||
"readme": "node --harmony-async-await src/renderReadMe.js",
|
||||
"start": "npm run babel && npm run less && npm run server",
|
||||
"dev": "watch 'npm start' src/ resumes/ less/",
|
||||
"pdf": "concurrently \"npm start\" \"sleep 5000 && echo \"alsdkjlaksjdlkajsdlajsd\"\""
|
||||
"pdf": "npm run babel && npm run less && node --harmony-async-await src/htmlToPdf.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typopro/web-montserrat": "^3.4.9",
|
||||
"babel-cli": "^6.22.2",
|
||||
"babel-core": "^6.22.1",
|
||||
"babel-preset-es2015": "^6.22.0",
|
||||
"buffer-to-string": "^0.1.0",
|
||||
"clean-css": "^4.0.4",
|
||||
"concurrently": "^3.2.0",
|
||||
"electroshot": "^1.2.0",
|
||||
"express": "^4.14.1",
|
||||
"font-awesome": "^4.7.0",
|
||||
"@typopro/web-montserrat": "3.4.9",
|
||||
"babel-cli": "6.22.2",
|
||||
"babel-core": "6.22.1",
|
||||
"babel-preset-es2015": "6.22.0",
|
||||
"buffer-to-string": "0.1.0",
|
||||
"clean-css": "4.0.4",
|
||||
"electroshot": "1.2.0",
|
||||
"express": "4.14.1",
|
||||
"font-awesome": "4.7.0",
|
||||
"fs": "0.0.1-security",
|
||||
"hogan-express": "^0.5.2",
|
||||
"hogan-express": "0.5.2",
|
||||
"html-pdf": "2.1.0",
|
||||
"html-to-pdf": "^0.1.11",
|
||||
"jquery": "^3.1.1",
|
||||
"less": "^2.7.2",
|
||||
"less-plugin-clean-css": "^1.5.1",
|
||||
"html-to-pdf": "0.1.11",
|
||||
"jquery": "3.1.1",
|
||||
"less": "2.7.2",
|
||||
"less-plugin-clean-css": "1.5.1",
|
||||
"local-web-server": "1.2.6",
|
||||
"markdown-to-html": "0.0.13",
|
||||
"material-design-icons": "^3.0.1",
|
||||
"mustache": "^2.3.0",
|
||||
"mustache-express": "^1.2.4",
|
||||
"normalize.css": "^5.0.0",
|
||||
"npm-font-open-sans-condensed": "^1.0.3",
|
||||
"open-sans-fontface": "^1.4.0",
|
||||
"path": "^0.12.7",
|
||||
"raleway-webfont": "^3.0.1",
|
||||
"request": "^2.79.0",
|
||||
"request-promise": "^4.1.1",
|
||||
"roboto-fontface": "^0.7.0",
|
||||
"showdown": "^1.6.3",
|
||||
"material-design-icons": "3.0.1",
|
||||
"mustache": "2.3.0",
|
||||
"mustache-express": "1.2.4",
|
||||
"normalize.css": "5.0.0",
|
||||
"npm-font-open-sans-condensed": "1.0.3",
|
||||
"open-sans-fontface": "1.4.0",
|
||||
"path": "0.12.7",
|
||||
"raleway-webfont": "3.0.1",
|
||||
"request": "2.79.0",
|
||||
"request-promise": "4.1.1",
|
||||
"roboto-fontface": "0.7.0",
|
||||
"showdown": "1.6.3",
|
||||
"typeface-chivo": "0.0.22",
|
||||
"watch": "^1.0.1",
|
||||
"write": "^0.3.2"
|
||||
"watch": "1.0.1",
|
||||
"write": "0.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
public/style.min.css
vendored
2
public/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -6,6 +6,10 @@ const path = require('path');
|
||||
var exec = require('child_process').exec;
|
||||
const dir = path.join(__dirname, '../resumes');
|
||||
const directories = getDirectories(dir);
|
||||
const request = require('request-promise');
|
||||
const port = 3000;
|
||||
|
||||
require('./server');
|
||||
|
||||
function getDirectories(srcpath) {
|
||||
return fs.readdirSync(srcpath)
|
||||
@ -25,7 +29,10 @@ async function convertToPdf() {
|
||||
(error, stdout, stderr) => {
|
||||
if (error) console.log(error);
|
||||
else console.log(stderr);
|
||||
request.get('http://localhost:' + port + '/kill')
|
||||
.catch(error => {});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
convertToPdf();
|
||||
|
||||
@ -52,7 +52,6 @@ for (let resume of directories) {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
request.get('http://localhost:' + port + '/kill')
|
||||
.catch(error => {});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user