feat: build system
This commit is contained in:
@@ -1 +1 @@
|
|||||||
export default { extends: ['@commitlint/config-conventional'] };
|
export default { extends: ['@commitlint/config-conventional'] }
|
||||||
|
|||||||
1
dist/index.css
vendored
Normal file
1
dist/index.css
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.details{border:1px solid var(--color-neutral-6);background-color:var(--color-neutral-3);color:var(--color-neutral-12);border-radius:4px}.details[open] summary{background-color:var(--color-neutral-5)}.details>summary{cursor:pointer;padding:4px 8px;font-size:16px;font-weight:600;line-height:20px}.details>summary:hover{background-color:var(--color-neutral-4)}.details>div{padding:8px}:root{--color-neutral-1:#111113;--color-neutral-2:#18191b;--color-neutral-3:#212225;--color-neutral-4:#272a2d;--color-neutral-5:#2e3135;--color-neutral-6:#363a3f;--color-neutral-7:#43484e;--color-neutral-8:#5a6169;--color-neutral-9:#696e77;--color-neutral-10:#777b84;--color-neutral-11:#b0b4ba;--color-neutral-12:#edeef0;--color-primary-1:#13131e;--color-primary-2:#171625;--color-primary-3:#202248;--color-primary-4:#262a65;--color-primary-5:#303374;--color-primary-6:#3d3e82;--color-primary-7:#4a4a95;--color-primary-8:#5958b1;--color-primary-9:#5b5bd6;--color-primary-10:#6e6ade;--color-primary-11:#b1a9ff;--color-primary-12:#e0dffe}
|
||||||
235
dist/index.js
vendored
235
dist/index.js
vendored
File diff suppressed because one or more lines are too long
13
manifest.json
Normal file
13
manifest.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"display_name": "St Randomness Helpers",
|
||||||
|
"loading_order": 1,
|
||||||
|
"requires": [],
|
||||||
|
"optional": [],
|
||||||
|
"dependencies": [],
|
||||||
|
"author": "Your name",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"homePage": "",
|
||||||
|
"js": "dist/index.js",
|
||||||
|
"css": "dist/index.css",
|
||||||
|
"auto_update": true
|
||||||
|
}
|
||||||
@@ -17,6 +17,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"dev": "bun build --watch src/index.ts --outdir ./dist --target browser",
|
"dev": "bun build --watch src/index.ts --outdir ./dist --target browser",
|
||||||
"build": "bun build src/index.ts --outdir ./dist --target browser"
|
"build": "bun build src/index.ts --outdir ./dist --target browser --minify"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,12 @@
|
|||||||
// Some stricter flags (disabled by default)
|
// Some stricter flags (disabled by default)
|
||||||
"noUnusedLocals": false,
|
"noUnusedLocals": false,
|
||||||
"noUnusedParameters": false,
|
"noUnusedParameters": false,
|
||||||
"noPropertyAccessFromIndexSignature": false
|
"noPropertyAccessFromIndexSignature": false,
|
||||||
|
|
||||||
|
//Paths
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["./src/*"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist"]
|
"exclude": ["node_modules", "dist"]
|
||||||
}
|
}
|
||||||
|
|||||||
5
types/global.d.ts
vendored
5
types/global.d.ts
vendored
@@ -1,6 +1,3 @@
|
|||||||
export {}
|
|
||||||
|
|
||||||
import '../../../../../public/global'
|
import '../../../../../public/global'
|
||||||
|
|
||||||
declare global {
|
declare global {}
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user