moves build files to src folder
This commit is contained in:
parent
c64519be64
commit
ffc310e949
1350
css/theme.css
1350
css/theme.css
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,18 +4,19 @@
|
|||
"description": "WordPress Theme framework",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"bs": "browser-sync start --config build/browser-sync.config.js",
|
||||
"bs": "browser-sync start --config src/build/browser-sync.config.js",
|
||||
"css": "npm-run-all css-compile css-postcss css-minify",
|
||||
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css src/sass/theme.scss:css/theme.css src/sass/custom-editor-style.scss:css/custom-editor-style.css",
|
||||
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\"",
|
||||
"css-postcss": "postcss --config build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\"",
|
||||
"css-postcss": "postcss --config src/build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\"",
|
||||
"js": "npm-run-all js-compile js-minify",
|
||||
"js-compile": "rollup --config build/rollup.config.js --sourcemap",
|
||||
"js-compile": "rollup --config src/build/rollup.config.js --sourcemap",
|
||||
"js-minify": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=js/theme.js.map,includeSources,url=theme.min.js.map\" --output js/theme.min.js js/theme.js",
|
||||
"watch": "npm-run-all --parallel watch-run-*",
|
||||
"watch-bs": "npm-run-all --parallel bs watch-run-*",
|
||||
"watch-run-css": "nodemon --watch sass/ --ext scss --exec \"npm-run-all css\"",
|
||||
"watch-run-js": "nodemon --watch src/js/ --ext js --exec \"npm-run-all js\""
|
||||
"watch-run-js": "nodemon --watch src/js/ --ext js --exec \"npm-run-all js\"",
|
||||
"dist": "npm-run-all --parallel css js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12 || >=14"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
const pkg = require('../package.json')
|
||||
const pkg = require('../../package.json')
|
||||
const year = new Date().getFullYear()
|
||||
|
||||
function getBanner(pluginFilename) {
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/*!
|
||||
* Understrap v0.9.6 (https://understrap.com)
|
||||
* Copyright 2013-2021 The UnderStrap Authors (https://github.com/understrap/understrap/graphs/contributors)
|
||||
* Licensed under GPL (http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
|
||||
*/
|
||||
(function (factory) {
|
||||
typeof define === 'function' && define.amd ? define(factory) :
|
||||
factory();
|
||||
}((function () { 'use strict';
|
||||
|
||||
|
||||
|
||||
})));
|
||||
//# sourceMappingURL=theme.js.map
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"theme.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
||||
Loading…
Reference in New Issue