forked from public/fvtt-cthulhu-eternal
Initial import with skill sheet working
This commit is contained in:
21
node_modules/gulp/LICENSE
generated
vendored
Normal file
21
node_modules/gulp/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013-2024 Blaine Bublitz <blaine.bublitz@gmail.com> and Eric Schoffstall <yo@contra.io>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
232
node_modules/gulp/README.md
generated
vendored
Normal file
232
node_modules/gulp/README.md
generated
vendored
Normal file
@ -0,0 +1,232 @@
|
||||
<p align="center">
|
||||
<a href="https://gulpjs.com">
|
||||
<img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png">
|
||||
</a>
|
||||
<p align="center">The streaming build system</p>
|
||||
</p>
|
||||
|
||||
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
|
||||
|
||||
## What is gulp?
|
||||
|
||||
- **Automation** - gulp is a toolkit that helps you automate painful or time-consuming tasks in your development workflow.
|
||||
- **Platform-agnostic** - Integrations are built into all major IDEs and people are using gulp with PHP, .NET, Node.js, Java, and other platforms.
|
||||
- **Strong Ecosystem** - Use npm modules to do anything you want + over 3000 curated plugins for streaming file transformations.
|
||||
- **Simple** - By providing only a minimal API surface, gulp is easy to learn and simple to use.
|
||||
|
||||
## Installation
|
||||
|
||||
Follow our [Quick Start guide][quick-start].
|
||||
|
||||
## Roadmap
|
||||
|
||||
Find out about all our work-in-progress and outstanding issues at https://github.com/orgs/gulpjs/projects.
|
||||
|
||||
## Documentation
|
||||
|
||||
Check out the [Getting Started guide][getting-started-guide] and [API docs][api-docs] on our website!
|
||||
|
||||
__Excuse our dust! All other docs will be behind until we get everything updated. Please open an issue if something isn't working.__
|
||||
|
||||
## Sample `gulpfile.js`
|
||||
|
||||
This file will give you a taste of what gulp does.
|
||||
|
||||
```js
|
||||
var gulp = require('gulp');
|
||||
var less = require('gulp-less');
|
||||
var babel = require('gulp-babel');
|
||||
var concat = require('gulp-concat');
|
||||
var uglify = require('gulp-uglify');
|
||||
var rename = require('gulp-rename');
|
||||
var cleanCSS = require('gulp-clean-css');
|
||||
var del = require('del');
|
||||
|
||||
var paths = {
|
||||
styles: {
|
||||
src: 'src/styles/**/*.less',
|
||||
dest: 'assets/styles/'
|
||||
},
|
||||
scripts: {
|
||||
src: 'src/scripts/**/*.js',
|
||||
dest: 'assets/scripts/'
|
||||
}
|
||||
};
|
||||
|
||||
/* Not all tasks need to use streams, a gulpfile is just another node program
|
||||
* and you can use all packages available on npm, but it must return either a
|
||||
* Promise, a Stream or take a callback and call it
|
||||
*/
|
||||
function clean() {
|
||||
// You can use multiple globbing patterns as you would with `gulp.src`,
|
||||
// for example if you are using del 2.0 or above, return its promise
|
||||
return del([ 'assets' ]);
|
||||
}
|
||||
|
||||
/*
|
||||
* Define our tasks using plain functions
|
||||
*/
|
||||
function styles() {
|
||||
return gulp.src(paths.styles.src)
|
||||
.pipe(less())
|
||||
.pipe(cleanCSS())
|
||||
// pass in options to the stream
|
||||
.pipe(rename({
|
||||
basename: 'main',
|
||||
suffix: '.min'
|
||||
}))
|
||||
.pipe(gulp.dest(paths.styles.dest));
|
||||
}
|
||||
|
||||
function scripts() {
|
||||
return gulp.src(paths.scripts.src, { sourcemaps: true })
|
||||
.pipe(babel())
|
||||
.pipe(uglify())
|
||||
.pipe(concat('main.min.js'))
|
||||
.pipe(gulp.dest(paths.scripts.dest));
|
||||
}
|
||||
|
||||
function watch() {
|
||||
gulp.watch(paths.scripts.src, scripts);
|
||||
gulp.watch(paths.styles.src, styles);
|
||||
}
|
||||
|
||||
/*
|
||||
* Specify if tasks run in series or parallel using `gulp.series` and `gulp.parallel`
|
||||
*/
|
||||
var build = gulp.series(clean, gulp.parallel(styles, scripts));
|
||||
|
||||
/*
|
||||
* You can use CommonJS `exports` module notation to declare tasks
|
||||
*/
|
||||
exports.clean = clean;
|
||||
exports.styles = styles;
|
||||
exports.scripts = scripts;
|
||||
exports.watch = watch;
|
||||
exports.build = build;
|
||||
/*
|
||||
* Define default task that can be called by just running `gulp` from cli
|
||||
*/
|
||||
exports.default = build;
|
||||
```
|
||||
|
||||
## Use latest JavaScript version in your gulpfile
|
||||
|
||||
Gulp provides a wrapper that will be loaded in your ESM code, so you can name your gulpfile as `gulpfile.mjs` or with `"type": "module"` specified in your `package.json` file.
|
||||
|
||||
And here's the same sample from above written in **ESNext**.
|
||||
|
||||
```js
|
||||
import { src, dest, watch } from 'gulp';
|
||||
import less from 'gulp-less';
|
||||
import babel from 'gulp-babel';
|
||||
import concat from 'gulp-concat';
|
||||
import uglify from 'gulp-uglify';
|
||||
import rename from 'gulp-rename';
|
||||
import cleanCSS from 'gulp-clean-css';
|
||||
import del from 'del';
|
||||
|
||||
const paths = {
|
||||
styles: {
|
||||
src: 'src/styles/**/*.less',
|
||||
dest: 'assets/styles/'
|
||||
},
|
||||
scripts: {
|
||||
src: 'src/scripts/**/*.js',
|
||||
dest: 'assets/scripts/'
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
* For small tasks you can export arrow functions
|
||||
*/
|
||||
export const clean = () => del([ 'assets' ]);
|
||||
|
||||
/*
|
||||
* You can also declare named functions and export them as tasks
|
||||
*/
|
||||
export function styles() {
|
||||
return src(paths.styles.src)
|
||||
.pipe(less())
|
||||
.pipe(cleanCSS())
|
||||
// pass in options to the stream
|
||||
.pipe(rename({
|
||||
basename: 'main',
|
||||
suffix: '.min'
|
||||
}))
|
||||
.pipe(dest(paths.styles.dest));
|
||||
}
|
||||
|
||||
export function scripts() {
|
||||
return src(paths.scripts.src, { sourcemaps: true })
|
||||
.pipe(babel())
|
||||
.pipe(uglify())
|
||||
.pipe(concat('main.min.js'))
|
||||
.pipe(dest(paths.scripts.dest));
|
||||
}
|
||||
|
||||
/*
|
||||
* You could even use `export as` to rename exported tasks
|
||||
*/
|
||||
function watchFiles() {
|
||||
watch(paths.scripts.src, scripts);
|
||||
watch(paths.styles.src, styles);
|
||||
}
|
||||
export { watchFiles as watch };
|
||||
|
||||
const build = gulp.series(clean, gulp.parallel(styles, scripts));
|
||||
/*
|
||||
* Export a default task
|
||||
*/
|
||||
export default build;
|
||||
```
|
||||
|
||||
## Incremental Builds
|
||||
|
||||
You can filter out unchanged files between runs of a task using
|
||||
the `gulp.src` function's `since` option and `gulp.lastRun`:
|
||||
```js
|
||||
const paths = {
|
||||
...
|
||||
images: {
|
||||
src: 'src/images/**/*.{jpg,jpeg,png}',
|
||||
dest: 'build/img/'
|
||||
}
|
||||
}
|
||||
|
||||
function images() {
|
||||
return gulp.src(paths.images.src, {since: gulp.lastRun(images)})
|
||||
.pipe(imagemin())
|
||||
.pipe(gulp.dest(paths.images.dest));
|
||||
}
|
||||
|
||||
function watch() {
|
||||
gulp.watch(paths.images.src, images);
|
||||
}
|
||||
```
|
||||
Task run times are saved in memory and are lost when gulp exits. It will only
|
||||
save time during the `watch` task when running the `images` task
|
||||
for a second time.
|
||||
|
||||
## Want to contribute?
|
||||
|
||||
Anyone can help make this project better - check out our [Contributing guide](/CONTRIBUTING.md)!
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
[quick-start]: https://gulpjs.com/docs/en/getting-started/quick-start
|
||||
[getting-started-guide]: https://gulpjs.com/docs/en/getting-started/quick-start
|
||||
[api-docs]: https://gulpjs.com/docs/en/api/concepts
|
||||
[esm-module]: https://github.com/standard-things/esm
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
[downloads-image]: https://img.shields.io/npm/dm/gulp.svg?style=flat-square
|
||||
[npm-url]: https://www.npmjs.com/package/gulp
|
||||
[npm-image]: https://img.shields.io/npm/v/gulp.svg?style=flat-square
|
||||
|
||||
[ci-url]: https://github.com/gulpjs/gulp/actions?query=workflow:dev
|
||||
[ci-image]: https://img.shields.io/github/actions/workflow/status/gulpjs/gulp/dev.yml?branch=master&style=flat-square
|
||||
|
||||
[coveralls-url]: https://coveralls.io/r/gulpjs/gulp
|
||||
[coveralls-image]: https://img.shields.io/coveralls/gulpjs/gulp/master.svg?style=flat-square
|
||||
<!-- prettier-ignore-end -->
|
3
node_modules/gulp/bin/gulp.js
generated
vendored
Executable file
3
node_modules/gulp/bin/gulp.js
generated
vendored
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
require('gulp-cli')();
|
55
node_modules/gulp/index.js
generated
vendored
Normal file
55
node_modules/gulp/index.js
generated
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
'use strict';
|
||||
|
||||
var util = require('util');
|
||||
var Undertaker = require('undertaker');
|
||||
var vfs = require('vinyl-fs');
|
||||
var watch = require('glob-watcher');
|
||||
|
||||
function Gulp() {
|
||||
Undertaker.call(this);
|
||||
|
||||
// Bind the functions for destructuring
|
||||
this.watch = this.watch.bind(this);
|
||||
this.task = this.task.bind(this);
|
||||
this.series = this.series.bind(this);
|
||||
this.parallel = this.parallel.bind(this);
|
||||
this.registry = this.registry.bind(this);
|
||||
this.tree = this.tree.bind(this);
|
||||
this.lastRun = this.lastRun.bind(this);
|
||||
this.src = this.src.bind(this);
|
||||
this.dest = this.dest.bind(this);
|
||||
this.symlink = this.symlink.bind(this);
|
||||
}
|
||||
util.inherits(Gulp, Undertaker);
|
||||
|
||||
Gulp.prototype.src = vfs.src;
|
||||
Gulp.prototype.dest = vfs.dest;
|
||||
Gulp.prototype.symlink = vfs.symlink;
|
||||
Gulp.prototype.watch = function(glob, opt, task) {
|
||||
if (typeof opt === 'string' || typeof task === 'string' ||
|
||||
Array.isArray(opt) || Array.isArray(task)) {
|
||||
throw new Error('watching ' + glob + ': watch task has to be ' +
|
||||
'a function (optionally generated by using gulp.parallel ' +
|
||||
'or gulp.series)');
|
||||
}
|
||||
|
||||
if (typeof opt === 'function') {
|
||||
task = opt;
|
||||
opt = {};
|
||||
}
|
||||
|
||||
opt = opt || {};
|
||||
|
||||
var fn;
|
||||
if (typeof task === 'function') {
|
||||
fn = this.parallel(task);
|
||||
}
|
||||
|
||||
return watch(glob, opt, fn);
|
||||
};
|
||||
|
||||
// Let people use this class from our instance
|
||||
Gulp.prototype.Gulp = Gulp;
|
||||
|
||||
var inst = new Gulp();
|
||||
module.exports = inst;
|
16
node_modules/gulp/index.mjs
generated
vendored
Normal file
16
node_modules/gulp/index.mjs
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
import gulp from "./index.js";
|
||||
|
||||
// These are bound to the gulp instance in our CommonJS file
|
||||
// so it is okay to reassign them to export
|
||||
export const watch = gulp.watch;
|
||||
export const task = gulp.task;
|
||||
export const series = gulp.series;
|
||||
export const parallel = gulp.parallel;
|
||||
export const registry = gulp.registry;
|
||||
export const tree = gulp.tree;
|
||||
export const lastRun = gulp.lastRun;
|
||||
export const src = gulp.src;
|
||||
export const dest = gulp.dest;
|
||||
export const symlink = gulp.symlink;
|
||||
|
||||
export default gulp;
|
74
node_modules/gulp/package.json
generated
vendored
Normal file
74
node_modules/gulp/package.json
generated
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
{
|
||||
"name": "gulp",
|
||||
"version": "5.0.0",
|
||||
"description": "The streaming build system.",
|
||||
"homepage": "https://gulpjs.com",
|
||||
"author": "Gulp Team <team@gulpjs.com> (https://gulpjs.com/)",
|
||||
"contributors": [
|
||||
"Eric Schoffstall <yo@contra.io>",
|
||||
"Blaine Bublitz <blaine.bublitz@gmail.com>"
|
||||
],
|
||||
"repository": "gulpjs/gulp",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10.13.0"
|
||||
},
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./index.mjs",
|
||||
"require": "./index.js"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"index.js",
|
||||
"index.mjs",
|
||||
"bin"
|
||||
],
|
||||
"bin": {
|
||||
"gulp": "./bin/gulp.js"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"pretest": "npm run lint",
|
||||
"test": "nyc mocha --async-only"
|
||||
},
|
||||
"dependencies": {
|
||||
"glob-watcher": "^6.0.0",
|
||||
"gulp-cli": "^3.0.0",
|
||||
"undertaker": "^2.0.0",
|
||||
"vinyl-fs": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.0.0",
|
||||
"eslint-config-gulp": "^5.0.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"expect": "^27.0.0",
|
||||
"mkdirp": "^3.0.1",
|
||||
"mocha": "^8.0.0",
|
||||
"nyc": "^15.0.0",
|
||||
"rimraf": "^3.0.0"
|
||||
},
|
||||
"nyc": {
|
||||
"reporter": [
|
||||
"lcov",
|
||||
"text-summary"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true
|
||||
},
|
||||
"keywords": [
|
||||
"build",
|
||||
"stream",
|
||||
"system",
|
||||
"make",
|
||||
"tool",
|
||||
"asset",
|
||||
"pipeline",
|
||||
"series",
|
||||
"parallel",
|
||||
"streaming"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user