-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 3.11 KB
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
{
"name": "jmsh-new",
"version": "0.0.1",
"description": "JMSH, now built with Eleventy and Alpine.js.",
"main": "index.js",
"scripts": {
"clean:dist": "rm -rf dist-dev && rm -rf dist && rm -rf tmp && mkdir tmp && mkdir tmp/js",
"clean:dsstore": "find . -name '.DS_Store' -type f -delete",
"clean": "npm-run-all clean:dist clean:dsstore",
"dev:sass": "sass -I src -I src/blocks -I src/containers -I src/containers/_base src/containers:tmp/scss",
"dev:postcss": "postcss tmp/scss/**/*.css -u autoprefixer -u postcss-combine-media-query -m --dir tmp/postcss",
"dev:js": "babel src --out-file tmp/babeljs/main.js --source-maps --ignore 'src/internals/**/*.js' --ignore 'src/content/*.js'",
"dev:svg": "cp -R src/svg dist",
"dev:m4a": "cp -R src/m4a dist",
"watch:svg": "onchange 'src/svg/**/*.svg' -- npm run dev:svg' src/svg",
"watch:img": "onchange 'src/img/**/*.png' 'src/img/**/*.jpg' -- npm run dev:img' src/img",
"watch:eleventy": "eleventy --serve",
"watch:sass": "onchange 'src/**/*.scss' -- npm run dev:sass",
"watch:postcss": "onchange 'tmp/scss/**/*' -- npm run dev:postcss",
"watch:js": "onchange 'src/blocks/**/*.js' 'src/containers/**/*.js' 'src/internals/**/*.js' 'src/views/**/*.js' -- npm run dev:js",
"start": "npm run clean && npm-run-all dev:sass dev:js dev:postcss --parallel watch:sass watch:js watch:postcss watch:eleventy",
"prod:sass": "npm run dev:sass -- --style=compressed --no-source-map",
"prod:postcss": "postcss tmp/scss/**/*.css -u autoprefixer -u postcss-combine-media-query -m --dir tmp/postcss",
"prod:js": "babel src --out-file tmp/babeljs/main.js --ignore 'src/internals/**/*.js' --ignore 'src/content/*.js'",
"prod:html": "html-minifier --input-dir dist --output-dir dist --file-ext html --remove-comments --remove-script-type-attributes --remove-tag-whitespace --minify-css true --minify-js true",
"prod": "npm run clean && npm-run-all prod:sass prod:postcss prod:js && NODE_ENV=prod eleventy && npm run prod:html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/johnmatula/jmsh-new.git"
},
"keywords": [
"portfolio",
"CSS",
"SCSS",
"eleventy"
],
"author": "John Matula",
"license": "MIT",
"bugs": {
"url": "https://github.com/johnmatula/jmsh-new/issues"
},
"homepage": "https://github.com/johnmatula/jmsh-new#readme",
"dependencies": {
"@11ty/eleventy-img": "^5.0.0",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-server-browsersync": "^1.0.2",
"browserslist": "^4.21.4",
"html-minifier": "^4.0.0",
"onchange": "^7.1.0"
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"ios 7","ios 8"
],
"devDependencies": {
"@11ty/eleventy": "^3.0.0",
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.13.8",
"@babel/preset-env": "^7.13.8",
"@mightyplow/eleventy-plugin-cache-buster": "^1.1.3",
"autoprefixer": "^10.4.20",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0",
"postcss-combine-media-query": "^1.0.1",
"sass": "^1.32.8"
}
}