extension builds as I want it to.
This commit is contained in:
@@ -1,13 +1,20 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
rm -r scripts/ package.zip
|
rm -rf scripts/ package.zip
|
||||||
|
|
||||||
tsc
|
if tsc; then
|
||||||
|
|
||||||
mkdir -p scripts/altcha
|
mkdir -p scripts/altcha
|
||||||
cp -r node_modules/altcha/dist_external scripts/altcha/
|
cp -r node_modules/altcha/dist_external scripts/altcha/
|
||||||
|
cp node_modules/altcha/* scripts/altcha/
|
||||||
|
|
||||||
mkdir -p scripts/indexeddb-promise
|
mkdir -p scripts/indexeddb-promise
|
||||||
cp node_modules/@coderundebug/indexeddb-promise/* scripts/indexeddb-promise
|
cp node_modules/@coderundebug/indexeddb-promise/* scripts/indexeddb-promise
|
||||||
|
|
||||||
zip -r package.zip icons/ pages/ scripts/ styles/ manifest.json
|
zip -r package.zip icons/ pages/ scripts/ styles/ manifest.json
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "tsc failed, package not built"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"include": [
|
"include": [
|
||||||
"src/**/*",
|
"src/**/*",
|
||||||
"node_modules/altcha/*",
|
"node_modules/altcha/*",
|
||||||
"node_modules/@coderundebug/indexeddb-promise/*"
|
// "node_modules/@coderundebug/indexeddb-promise/*"
|
||||||
],
|
],
|
||||||
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
"outDir": "scripts",
|
"outDir": "scripts",
|
||||||
"lib": ["ES7", "DOM"],
|
"lib": ["ES7", "DOM"],
|
||||||
|
|
||||||
"noImplicitAny": true,
|
// "noImplicitAny": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user