-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 4.27 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
101
102
103
104
105
{
"name": "sustainablewebsitetemplate",
"version": "1.0.0",
"description": "流行り廃りに影響を受けにくい、長期間にわたって使い続けられる、ウェブサイト用のテンプレートを目指しています。",
"main": "index.js",
"scripts": {
"start": "run-s -c dev watch",
"build": "npm-run-all -s clean -p build:*",
"watch": "run-p watch:*",
"watch:html": "onchange \"src/**/*.pug\" \"src/_data/json/**/*.json\" -- npm run dev:html",
"watch:css": "onchange \"src/**/*.scss\" -- npm run dev:css",
"watch:js": "onchange \"src/**/*.js\" -- npm run dev:js",
"watch:image": "onchange \"src/**/*.{jpg,jpeg,png,gif,svg}\" -- npm run dev:image",
"watch:icon": "onchange \"src/assets/svg/*.svg\" -- npm run dev:icon",
"watch:styleguide": "onchange \"styleguide/**/*\" -- npm run dev:styleguide",
"watch:copy": "cpx \"static/**/*\" htdocs --verbose --watch",
"watch:serve": "browser-sync start --config \"./bs-config.js\"",
"dev": "run-p dev:*",
"dev:html": "NODE_ENV=development npm-run-all -c -s html:{json,pug} -s html:markuplint",
"dev:css": "NODE_ENV=development run-s -c -c css:*",
"dev:js": "NODE_ENV=development run-s -c js:*",
"dev:image": "NODE_ENV=development run-s -c image:*",
"dev:icon": "NODE_ENV=development run-s -c icon:*",
"dev:styleguide": "NODE_ENV=development run-s -c styleguide:*",
"dev:copy": "NODE_ENV=development run-s -c copy:*",
"build:html": "NODE_ENV=production run-s -c html:*",
"build:css": "NODE_ENV=production run-s -c css:*",
"build:js": "NODE_ENV=production run-s -c js:*",
"build:image": "NODE_ENV=production run-s -c image:*",
"build:icon": "NODE_ENV=production run-s -c icon:*",
"build:styleguide": "NODE_ENV=production run-s -c styleguide:*",
"build:copy": "NODE_ENV=production run-s -c copy:*",
"html:json": "node scripts/mergeJson.js",
"html:markuplint": "markuplint \"src/**/*.pug\"",
"html:pug": "pug src --out htdocs --basedir src --obj src/_data/data.json --pretty",
"css:stylelint": "stylelint \"src/**/*.scss\" --fix",
"css:sass": "sass src/assets/css/site.scss htdocs/assets/css/site.css",
"css:postcss": "postcss htdocs/assets/css/site.css -o htdocs/assets/css/site.css",
"js:eslint": "eslint \"src/**/*.js\" --fix",
"js:babel": "webpack",
"image:min": "node scripts/imagemin.mjs",
"icon:mkdir": "shx mkdir -p htdocs/assets/svg",
"icon:svg": "svgstore -o htdocs/assets/svg/sprite.svg src/assets/svg/*.svg",
"styleguide:fractal": "fractal build",
"copy:static": "cpx \"static/**/*\" --verbose htdocs",
"clean": "run-p clean:*",
"clean:htdocs": "shx rm -rf \"htdocs\" && shx echo \"Done cleaning\""
},
"keywords": [],
"author": "Manabu Yasuda",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.22.11",
"@babel/preset-env": "^7.22.10",
"@frctl/fractal": "^1.5.15",
"@markuplint/pug-parser": "^3.9.0",
"@rsm/fractal-pug-adapter": "^0.5.0",
"autoprefixer": "^10.4.15",
"babel-loader": "^9.1.3",
"browser-sync": "^2.29.3",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"cssnano": "^6.0.1",
"dotenv": "^16.3.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-standard": "^5.0.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-keep-folder": "^5.3.2",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^10.0.1",
"imagemin-webp": "^8.0.0",
"markuplint": "^3.12.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.4.28",
"postcss-cli": "^10.1.0",
"prettier": "^3.0.2",
"pug": "^2.0.0-rc.4",
"pug-cli": "github:pugjs/pug-cli#master",
"sass": "^1.66.1",
"shx": "^0.3.4",
"stylelint": "^15.10.3",
"stylelint-config-standard-scss": "^10.0.0",
"stylelint-prettier": "^4.0.2",
"stylelint-scss": "^5.1.0",
"svgstore-cli": "^2.0.1",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"core-js": "^3.32.1",
"normalize.css": "^8.0.1",
"sass-mq": "^6.0.0",
"sweet-scroll": "^4.0.0",
"what-input": "^5.2.12"
},
"fractal": {
"main": "fractalfile.js"
}
}