mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Moved build scripts to subfolder
This commit is contained in:
parent
b97b747150
commit
3f8475aad1
16
.gitignore
vendored
16
.gitignore
vendored
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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" +
|
@ -33,9 +33,9 @@
|
||||
"target": "es2015"
|
||||
},
|
||||
"include": [
|
||||
"tools",
|
||||
"src/assets/javascripts",
|
||||
"src/overrides/assets/javascripts",
|
||||
"tools",
|
||||
"typings",
|
||||
"webpack.config.ts"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user