-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 4.19 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
{
"name": "dralexgreaney.com",
"version": "1.0.1",
"description": "Dr. Greaney's Research Group Site",
"main": "index.js",
"config": {
"//": "TODO is this needed? set properties to be used as variables in scripts commands like so: $npm_package_config_my-property-name",
"js-src files": "src/vendor/jquery.js node_modules/jquery-backstretch/jquery.backstretch.min.js src/vendor/tether.js node_modules/bootstrap/dist/js/bootstrap.min.js src/vendor/*.js src/js/*.js src/pugTemplateFunctions.js src/app.js"
},
"scripts": {
"test": "test",
"//// OneOffScripts": "",
"// bib-to-json & bib-fx": "// Convert publication data from .bib to .json, then run custom script to format and parse data ",
"bib-to-json": "node node_modules/bib2json/Bib2JSON.js src/json-data/references-with-abstract.bib src/json-data/publications.json",
"bib-fix": "node build-scripts/custom-build-scripts.js processPublicationEntries",
"//// BuildScripts": "",
"scss": "node-sass --output-style compact -o public src/scss/main.sass",
"autoprefixer": "postcss -u autoprefixer -r public/main.css",
"watch:css": "onchange 'src/scss/*.sass' -i -v -- npm run scss",
"// pug-compile": "// Custom script to compile pug templates with json data",
"pug-compile": "node build-scripts/custom-build-scripts.js compilePugWithContent",
"watch:pug-compile": "onchange 'src/pug/*.pug' 'src/json-data/*.json' -i -v -- npm run pug-compile",
"// pug-create-template-function": "Custom script to compile pug templates into a js function for clientside use",
"pug-create-template-function": "node build-scripts/create-pug-template-function.js",
"watch:pug-create-template-function": "onchange 'src/pug/research-project.pug' 'src/json-data/research-projects.json' -- npm run pug-create-template-function",
"// create-data-model": "build javascript data model from reasearch data, used for clientside dynmaic content",
"create-data-model": "node build-scripts/custom-build-scripts.js createDataModel",
"watch:create-data-model": "onchange 'src/pug/research-project.pug' 'src/json-data/research-projects.json' -- npm run create-data-model",
"lint": "eslint src/app.js || true",
"uglify": "uglifyjs src/vendor/jquery.js node_modules/jquery-lazyload/jquery.lazyload.js node_modules/jquery-backstretch/jquery.backstretch.min.js src/vendor/tether.js node_modules/bootstrap/dist/js/bootstrap.bundle.min.js src/vendor/*.js src/js/*.js src/pugTemplateFunctions.js src/app.js -m -o public/build.js",
"watch:js": "onchange 'src/js/*.js' 'src/app.js' -i -v -- npm run uglify",
"watch:all": "npm run watch:pug-compile & npm run watch:pug-create-template-function & npm run watch:create-data-model & npm run watch:css & npm run watch:js",
"// TODO": "// Compress css",
"build:css": "npm run scss & npm run autoprefixer",
"build:js": "npm run lint & npm run uglify",
"build:copyfiles": "cp -r media public",
"build": "npm run pug-create-template-function & npm run create-data-model & npm run pug-compile & npm run build:css & npm run build:js & npm run build:copyfiles"
},
"repository": {
"type": "git",
"url": "git+https://github.com/autumnfjeld/dralexgreaney.git"
},
"keywords": [
"Alex Greaney",
"Computational Materials Science"
],
"author": "Autumn Fjeld",
"license": "ISC",
"bugs": {
"url": "https://github.com/autumnfjeld/dralexgreaney/issues"
},
"homepage": "http://alexgreaney.com",
"devDependencies": {
"autoprefixer": "^7.1.1",
"bib2json": "0.0.2",
"cssmin": "^0.4.3",
"eslint": "^3.19.0",
"eslint-config-google": "^0.7.1",
"make-runnable": "^1.3.6",
"node-sass": "^4.11.0",
"onchange": "^3.2.1",
"postcss": "^6.0.2",
"postcss-cli": "^4.0.0",
"pug": "^2.0.0-rc.1",
"pug-cli": "^1.0.0-alpha6",
"uglify-js": "^3.0.4"
},
"dependencies": {
"bootstrap": "^4.0.0-beta.2",
"jquery-backstretch": "^2.1.15",
"jquery-lazyload": "^1.9.7",
"popper.js": "^1.14.6"
}
}