chore: correct scripts
This commit is contained in:
@@ -19,7 +19,7 @@ build:
|
|||||||
- cp styles/* dist/styles/
|
- cp styles/* dist/styles/
|
||||||
- cp module.json dist
|
- cp module.json dist
|
||||||
- cd dist
|
- cd dist
|
||||||
- zip wfrp4e-actor-sheet-print.zip -r *.* lang styles -x ".*"
|
- zip wfrp4e-actor-sheet-print.zip -r *.* src lang styles -x ".*"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: wfrp4e-actor-sheet-print
|
name: wfrp4e-actor-sheet-print
|
||||||
when: on_success
|
when: on_success
|
||||||
@@ -40,7 +40,7 @@ build_beta:
|
|||||||
- cp styles/* dist/styles/
|
- cp styles/* dist/styles/
|
||||||
- cp module-beta.json dist/module.json
|
- cp module-beta.json dist/module.json
|
||||||
- cd dist
|
- cd dist
|
||||||
- zip wfrp4e-actor-sheet-print.zip -r *.* lang styles -x ".*"
|
- zip wfrp4e-actor-sheet-print.zip -r *.* src lang styles -x ".*"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: wfrp4e-actor-sheet-print
|
name: wfrp4e-actor-sheet-print
|
||||||
when: on_success
|
when: on_success
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
"author": "Skeroujvapluvit",
|
"author": "Skeroujvapluvit",
|
||||||
"systems": ["wfrp4e"],
|
"systems": ["wfrp4e"],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
|
"esmodules": ["main.js"],
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
"lang": "en",
|
"lang": "en",
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
"author": "Skeroujvapluvit",
|
"author": "Skeroujvapluvit",
|
||||||
"systems": ["wfrp4e"],
|
"systems": ["wfrp4e"],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
|
"esmodules": ["main.js"],
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
"lang": "en",
|
"lang": "en",
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ npm run build
|
|||||||
mkdir -p ./dist/lang
|
mkdir -p ./dist/lang
|
||||||
mkdir -p ./dist/styles
|
mkdir -p ./dist/styles
|
||||||
cp ./lang/* ./dist/lang/
|
cp ./lang/* ./dist/lang/
|
||||||
cp ./src/styles/* ./dist/styles/
|
cp ./styles/* ./dist/styles/
|
||||||
cp module.json ./dist/module.json
|
cp module.json ./dist/module.json
|
||||||
5
src/main.ts
Normal file
5
src/main.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
//ActorSheet
|
||||||
|
|
||||||
|
Hooks.on('renderActorSheet', (_app: ActorSheet, _html: JQuery) => {
|
||||||
|
console.dir(_app);
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user