-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.11 KB
/
package.json
File metadata and controls
30 lines (30 loc) · 1.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
{
"name": "base-template",
"version": "1.0.0",
"description": "My base template repository for npm-based projects.",
"repository": "git@github.com:danielpes/base-template.git",
"author": "Daniel de Paula <contact@danielpes.me>",
"license": "MIT",
"private": true,
"scripts": {
"load-config": "js-yaml src/data/en.yml > /tmp/config.json",
"copy:assets": "cp -R assets/ public",
"build:pug": "yarn load-config && pug src/view/index.pug -P -O /tmp/config.json -o public",
"build:sass": "sass src/style/main.scss public/css/main.css",
"build": "yarn copy:assets && yarn build:pug && yarn build:sass",
"release": "yarn build && cp -R public/ docs",
"watch:pug": "yarn build:pug -w",
"watch:sass": "yarn build:sass -w",
"watch": "yarn copy:assets && concurrently 'http-server' 'yarn:watch:*'"
},
"devDependencies": {
"@danielpes/coding-standards": "^1.1.1",
"@danielpes/eslint-config": "^1.1.0",
"@prettier/plugin-pug": "^1.16.7",
"concurrently": "^6.3.0",
"http-server": "^13.0.2",
"js-yaml": "^4.1.0",
"pug-cli": "^1.0.0-alpha6",
"sass": "^1.42.1"
}
}