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
|
# Dependencies
|
||||||
node_modules
|
/node_modules
|
||||||
__pycache__
|
/__pycache__
|
||||||
venv
|
/venv
|
||||||
|
|
||||||
# Build files
|
# Build files
|
||||||
build
|
/build
|
||||||
MANIFEST
|
/MANIFEST
|
||||||
site
|
/site
|
||||||
|
|
||||||
# Distribution files
|
# Distribution files
|
||||||
dist
|
/dist
|
||||||
mkdocs_material.egg-info
|
/mkdocs_material.egg-info
|
||||||
|
|
||||||
# Caches and logs
|
# Caches and logs
|
||||||
*.cpuprofile
|
*.cpuprofile
|
||||||
|
@ -26,12 +26,12 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "run-s build:*",
|
"build": "run-s build:*",
|
||||||
"build:clean": "rimraf material",
|
"build:clean": "rimraf material",
|
||||||
"build:tools": "ts-node -T tools --optimize",
|
"build:tools": "ts-node -T tools/build --optimize",
|
||||||
"clean": "rimraf material",
|
"clean": "rimraf material",
|
||||||
"lint": "run-p lint:*",
|
"lint": "run-p lint:*",
|
||||||
"lint:scss": "stylelint \"src/assets/**/*.scss\"",
|
"lint:scss": "stylelint \"src/assets/**/*.scss\"",
|
||||||
"lint:ts": "eslint --cache \"src/**/*.ts\"",
|
"lint:ts": "eslint --cache \"src/**/*.ts\"",
|
||||||
"start": "ts-node -T tools --watch"
|
"start": "ts-node -T tools/build --watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"clipboard": "^2.0.6",
|
"clipboard": "^2.0.6",
|
||||||
|
@ -189,7 +189,7 @@ const templates$ = manifest$
|
|||||||
to: base,
|
to: base,
|
||||||
watch: process.argv.includes("--watch"),
|
watch: process.argv.includes("--watch"),
|
||||||
transform: async data => {
|
transform: async data => {
|
||||||
const metadata = require("../package.json")
|
const metadata = require("../../package.json")
|
||||||
const banner =
|
const banner =
|
||||||
"{#-\n" +
|
"{#-\n" +
|
||||||
" This file was automatically generated - do not edit\n" +
|
" This file was automatically generated - do not edit\n" +
|
@ -33,9 +33,9 @@
|
|||||||
"target": "es2015"
|
"target": "es2015"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
"tools",
|
||||||
"src/assets/javascripts",
|
"src/assets/javascripts",
|
||||||
"src/overrides/assets/javascripts",
|
"src/overrides/assets/javascripts",
|
||||||
"tools",
|
|
||||||
"typings",
|
"typings",
|
||||||
"webpack.config.ts"
|
"webpack.config.ts"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user