Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

7
node_modules/webgl-constants/.editorconfig generated vendored Normal file
View File

@@ -0,0 +1,7 @@
root = true
[*]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

21
node_modules/webgl-constants/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Tim van Scherpenzeel
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.

12
node_modules/webgl-constants/README.md generated vendored Normal file
View File

@@ -0,0 +1,12 @@
# WebGL constants
![](http://img.badgesize.io/TimvanScherpenzeel/webgl-constants/master/dist/webgl-constants.cjs.js.svg?compression=gzip&maxAge=60)
[![npm version](https://badge.fury.io/js/webgl-constants.svg)](https://badge.fury.io/js/webgl-constants)
Complete set of constants as specified in the WebGL, WebGL2 and extension spec.
All constants have their original names prefixed with `GL_` in order to namespace the constants and were directly ported from the documentation on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants). In some cases the documentation describes duplicate cases such as `UNSIGNED_BYTE` as both a `data` type as well as a `pixel` type. For that reason I've decided to prefix each with their type resulting in `GL_DATA_UNSIGNED_BYTE` and `GL_PIXEL_UNSIGNED_BYTE`.
## Licence
My work is released under the [MIT license](https://raw.githubusercontent.com/TimvanScherpenzeel/webgl-constants/master/LICENSE).

3071
node_modules/webgl-constants/dist/lib/index.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

1
node_modules/webgl-constants/dist/lib/index.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

2966
node_modules/webgl-constants/dist/types/index.d.ts generated vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

3070
node_modules/webgl-constants/dist/webgl-constants.esm.js generated vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

37
node_modules/webgl-constants/package.json generated vendored Normal file
View File

@@ -0,0 +1,37 @@
{
"name": "webgl-constants",
"version": "1.1.1",
"description": "Complete set of constants as specified in the WebGL, WebGL2 and extension spec.",
"main": "dist/webgl-constants.cjs.js",
"browser": "dist/webgl-constants.umd.js",
"module": "dist/webgl-constants.esm.js",
"jsnext:main": "dist/webgl-constants.esm.js",
"types": "dist/types/index.d.ts",
"scripts": {
"start": "rollup -c rollup.config.ts -w",
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist docs",
"build": "tsc --module commonjs && rollup -c rollup.config.ts"
},
"author": "Tim van Scherpenzeel",
"dependencies": {},
"devDependencies": {
"prettier": "^1.17.1",
"rimraf": "^2.6.3",
"rollup": "^1.12.3",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-filesize": "^6.0.1",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-typescript2": "^0.21.1",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.4.5"
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100
}
}

70
node_modules/webgl-constants/rollup.config.ts generated vendored Normal file
View File

@@ -0,0 +1,70 @@
// Vendor
import commonjsPlugin from 'rollup-plugin-commonjs';
import filesizePlugin from 'rollup-plugin-filesize';
import resolvePlugin from 'rollup-plugin-node-resolve';
import { terser as terserPlugin } from 'rollup-plugin-terser';
import typescriptPlugin from 'rollup-plugin-typescript2';
// Package
// @ts-ignore: JSON is imported without any issue, TSLint still raises issues
import pkg from './package.json';
const input = './src/index.ts';
const name = 'WebGLConstants';
const plugins = ({ isUMD = false, isCJS = false, isES = false }) => [
resolvePlugin(),
(isUMD || isCJS) && commonjsPlugin(),
typescriptPlugin({
typescript: require('typescript'),
useTsconfigDeclarationDir: true,
}),
!isES && !process.env.ROLLUP_WATCH && terserPlugin(),
!isES && !process.env.ROLLUP_WATCH && filesizePlugin(),
];
export default [
{
input,
output: [
{
exports: 'named',
file: pkg.browser,
format: 'umd',
name,
},
],
plugins: plugins({ isUMD: true }),
watch: {
include: 'src/**',
},
},
{
input,
output: [
{
exports: 'named',
file: pkg.main,
format: 'cjs',
},
],
plugins: plugins({ isCJS: true }),
watch: {
include: 'src/**',
},
},
{
input,
output: [
{
file: pkg.module,
format: 'es',
name,
},
],
plugins: plugins({ isES: true }),
watch: {
include: 'src/**',
},
},
];

3783
node_modules/webgl-constants/src/index.ts generated vendored Normal file

File diff suppressed because it is too large Load Diff

20
node_modules/webgl-constants/tsconfig.json generated vendored Normal file
View File

@@ -0,0 +1,20 @@
{
"compilerOptions": {
"moduleResolution": "node",
"target": "es6",
"module": "es2015",
"lib": ["es2015", "es2016", "es2017", "dom"],
"strict": true,
"sourceMap": true,
"declaration": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"noImplicitAny": true,
"resolveJsonModule": true,
"declarationDir": "dist/types",
"outDir": "dist/lib",
"typeRoots": ["node_modules/@types"]
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}

12
node_modules/webgl-constants/tslint.json generated vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"jsRules": {},
"rules": {
"no-bitwise": false,
"no-console": false,
"trailing-comma": true,
"typedef": [true, "call-signature", "property-declaration", "arrow-call-signature"]
},
"rulesDirectory": []
}

1753
node_modules/webgl-constants/yarn.lock generated vendored Normal file

File diff suppressed because it is too large Load Diff