Moved build scripts to subfolder

This commit is contained in:
squidfunk 2021-02-22 18:23:33 +01:00
parent b97b747150
commit 3f8475aad1
7 changed files with 12 additions and 12 deletions

16
.gitignore vendored
View File

@ -23,18 +23,18 @@
# -----------------------------------------------------------------------------
# Dependencies
node_modules
__pycache__
venv
/node_modules
/__pycache__
/venv
# Build files
build
MANIFEST
site
/build
/MANIFEST
/site
# Distribution files
dist
mkdocs_material.egg-info
/dist
/mkdocs_material.egg-info
# Caches and logs
*.cpuprofile

View File

@ -26,12 +26,12 @@
"scripts": {
"build": "run-s build:*",
"build:clean": "rimraf material",
"build:tools": "ts-node -T tools --optimize",
"build:tools": "ts-node -T tools/build --optimize",
"clean": "rimraf material",
"lint": "run-p lint:*",
"lint:scss": "stylelint \"src/assets/**/*.scss\"",
"lint:ts": "eslint --cache \"src/**/*.ts\"",
"start": "ts-node -T tools --watch"
"start": "ts-node -T tools/build --watch"
},
"dependencies": {
"clipboard": "^2.0.6",

View File

@ -189,7 +189,7 @@ const templates$ = manifest$
to: base,
watch: process.argv.includes("--watch"),
transform: async data => {
const metadata = require("../package.json")
const metadata = require("../../package.json")
const banner =
"{#-\n" +
" This file was automatically generated - do not edit\n" +

View File

@ -33,9 +33,9 @@
"target": "es2015"
},
"include": [
"tools",
"src/assets/javascripts",
"src/overrides/assets/javascripts",
"tools",
"typings",
"webpack.config.ts"
]