-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
59 lines (59 loc) · 2.81 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
{
"name": "portfolio-template",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build:clean": "npx rimraf ./dist",
"build:scss:lint": "npx sass-lint --config ./.sass-lint.yml './src/styles/**/*.scss' --syntax scss --verbose",
"build:scss:autoprefixer": "npx postcss ./dist/*.css --use autoprefixer -d dist/",
"build:scss:css": "npx sass ./src/styles:./dist --color --error-css --update --trace --style=compressed",
"build:scss": "npm run build:scss:css && npm run build:scss:autoprefixer",
"build:copy:images": "npx copyfiles ./src/assets/images/* ./dist/images --flat",
"build:copy:fonts:lato": "npx copyfiles ./node_modules/@fontsource/lato/files/* ./dist/fonts --flat",
"build:copy:fonts:fontawesome": "npx copyfiles ./node_modules/@fortawesome/fontawesome-free/webfonts/* ./dist/fonts --flat",
"build:ejs": "npx ejs-cli --base-dir src/views/ '{!(partials)/,*}*.ejs' --out dist/ --options data.json",
"build:copy": "npm run build:copy:images && npm run build:copy:fonts:lato && npm run build:copy:fonts:fontawesome",
"build": "npm run build:clean && npm run build:ejs && npm run build:copy && npm run build:scss",
"dev:watch:styles": "npx onchange \"./src/styles/**/*.scss\" -- npm run build:scss",
"dev:watch:ejs": "npx onchange \"./src/views/**/*.ejs\" -- npm run build:ejs",
"dev:watch:assets": "npx onchange \"./src/assets/**/*\" -- npm run build:copy:images",
"dev:watch:content": "npx onchange \"./data.json\" -- npm run build:ejs",
"dev:watch": "npm run dev:watch:styles & npm run dev:watch:ejs & npm run dev:watch:assets & npm run dev:watch:content",
"dev:server": "npx live-server ./dist/ --port=3000 --watch=./src/**/*,./dist/**/* --open=/ --ignore=./dist/fonts/**/*",
"dev": "npm run build && npm run dev:server & npm run dev:watch",
"production": "npm run build && node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jchaike/portfolio-template.git"
},
"author": "Josh Chaiken <[email protected]> (https://www.joshchaiken.com/)",
"license": "ISC",
"bugs": {
"url": "https://github.com/jchaike/portfolio-template/issues"
},
"homepage": "https://github.com/jchaike/portfolio-template#readme",
"dependencies": {
"@fontsource/lato": "^4.1.0",
"@fortawesome/fontawesome-free": "^5.15.2",
"autoprefixer": "^10.2.4",
"copyfiles": "^2.4.1",
"dart-sass": "^1.25.0",
"ejs": "^3.1.5",
"ejs-cli": "^2.2.1",
"express": "^4.17.1",
"heroku-ssl-redirect": "^0.1.1",
"normalize-scss": "^7.0.1",
"postcss": "^8.2.4",
"postcss-cli": "^8.3.1",
"rimraf": "^3.0.2",
"sass": "^1.32.6",
"sass-lint": "^1.13.1"
},
"devDependencies": {
"live-server": "^1.2.1",
"onchange": "^7.1.0"
}
}