this.gui 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/this.gui.js +1 -0
- package/package.json +16 -29
- package/webpack.config.cjs +24 -0
- package/babel.config.json +0 -3
- package/tsconfig.json +0 -19
- package/typedoc.json +0 -13
package/dist/this.gui.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.thisGui=t():e.thisGui=t()}(self,(()=>(()=>{"use strict";var e={};return(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),e})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "this.gui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "This Graphic User Interface.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -9,40 +9,27 @@
|
|
|
9
9
|
"url": "git+https://github.com/suiGn/GUI.git"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "
|
|
13
|
-
"test": "jest"
|
|
12
|
+
"build": "webpack --mode production",
|
|
13
|
+
"test": "jest",
|
|
14
|
+
"build-css": "sass src/styles:dist/css"
|
|
14
15
|
},
|
|
15
16
|
"homepage": "https://www.npmjs.com/package/this.gui",
|
|
16
17
|
"docs": "https://suiGn.github.io/GUI",
|
|
17
18
|
"author": "suiGn",
|
|
18
19
|
"license": "MIT",
|
|
19
20
|
"repoType": "NPM Package",
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@babel/core": "^7.23.6",
|
|
22
|
-
"@babel/preset-env": "^7.23.6",
|
|
23
|
-
"@babel/preset-react": "^7.23.3",
|
|
24
|
-
"@testing-library/jest-dom": "^6.1.6",
|
|
25
|
-
"@testing-library/react": "^14.1.2",
|
|
26
|
-
"@types/jest": "^29.5.11",
|
|
27
|
-
"@types/react": "^18.2.46",
|
|
28
|
-
"@types/react-dom": "^18.2.18",
|
|
29
|
-
"@types/testing-library__react": "^10.2.0",
|
|
30
|
-
"babel-jest": "^29.7.0",
|
|
31
|
-
"jest": "^29.7.0",
|
|
32
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
33
|
-
"jsdom": "^23.0.1",
|
|
34
|
-
"ts-jest": "^29.1.1",
|
|
35
|
-
"typedoc": "^0.25.4",
|
|
36
|
-
"typedoc-material-theme": "^1.0.1",
|
|
37
|
-
"typescript": "^5.3.3"
|
|
38
|
-
},
|
|
39
21
|
"dependencies": {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"@
|
|
45
|
-
"
|
|
46
|
-
"
|
|
22
|
+
"material-components-web": "^14.0.0",
|
|
23
|
+
"sass": "^1.69.6"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@babel/core": "^7.23.7",
|
|
27
|
+
"@babel/preset-env": "^7.23.7",
|
|
28
|
+
"babel-loader": "^9.1.3",
|
|
29
|
+
"css-loader": "^6.8.1",
|
|
30
|
+
"sass-loader": "^13.3.3",
|
|
31
|
+
"style-loader": "^3.3.3",
|
|
32
|
+
"webpack": "^5.89.0",
|
|
33
|
+
"webpack-cli": "^5.1.4"
|
|
47
34
|
}
|
|
48
35
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
entry: './index.js', // Main entry point of your library
|
|
5
|
+
output: {
|
|
6
|
+
path: path.resolve(__dirname, 'dist'),
|
|
7
|
+
filename: 'this.gui.js', // Output file
|
|
8
|
+
library: 'thisGui', // Global var when included via script tag
|
|
9
|
+
libraryTarget: 'umd',
|
|
10
|
+
},
|
|
11
|
+
module: {
|
|
12
|
+
rules: [
|
|
13
|
+
{
|
|
14
|
+
test: /\.js$/,
|
|
15
|
+
use: 'babel-loader',
|
|
16
|
+
exclude: /node_modules/,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
test: /\.scss$/,
|
|
20
|
+
use: ['style-loader', 'css-loader', 'sass-loader'],
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
};
|
package/babel.config.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es5", // Specify ECMAScript target version
|
|
4
|
-
"module": "commonjs", // Specify module code generation
|
|
5
|
-
"lib": ["es6", "dom"], // Specify library files to be included in the compilation
|
|
6
|
-
"sourceMap": true, // Generates corresponding '.map' file
|
|
7
|
-
"outDir": "./dist", // Redirect output structure to the directory
|
|
8
|
-
"rootDir": "./src", // Specify the root directory of input files
|
|
9
|
-
"strict": true, // Enable all strict type-checking options
|
|
10
|
-
"noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type
|
|
11
|
-
"moduleResolution": "node", // Select module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)
|
|
12
|
-
"esModuleInterop": true, // Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports
|
|
13
|
-
"skipLibCheck": true, // Skip type checking of declaration files
|
|
14
|
-
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
|
|
15
|
-
"jsx": "react" // Support JSX in '.tsx' files: 'preserve', 'react-native', or 'react'
|
|
16
|
-
},
|
|
17
|
-
"include": ["src/**/*"],
|
|
18
|
-
"exclude": ["node_modules", "tests", "dist"]
|
|
19
|
-
}
|
package/typedoc.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"theme": "default",
|
|
3
|
-
"entryPoints": ["src/index.ts"],
|
|
4
|
-
"out": "./docs",
|
|
5
|
-
"exclude": ["**/node_modules/**"],
|
|
6
|
-
"readme": "README.md",
|
|
7
|
-
"includeVersion": true, // Include TypeScript version in the generated documentation
|
|
8
|
-
"excludeExternals": true, // Exclude external dependencies from documentation
|
|
9
|
-
"excludePrivate": true, // Exclude private members from documentation
|
|
10
|
-
"excludeProtected": true, // Exclude protected members from documentation
|
|
11
|
-
"tsconfig": "tsconfig.json" // Path to your TypeScript configuration file
|
|
12
|
-
}
|
|
13
|
-
|