-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd896f8
commit 3399838
Showing
5 changed files
with
490 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,19 +6,20 @@ | |
"module": "build/index.mjs", | ||
"browser": "browser/index.js", | ||
"type": "commonjs", | ||
"types": "src/**/*.d.ts", | ||
"types": "build/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./build/index.cjs", | ||
"import": "./build/index.mjs", | ||
"types": "./src/types.d.ts" | ||
"types": "./build/index.d.ts" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"license": "LGPL-3.0", | ||
"scripts": { | ||
"build": "npm run build:ts && npm run build:browser", | ||
"build": "npm run build:ts-types && npm run build:ts && npm run build:browser", | ||
"build:ts": "npm test && npx tsc", | ||
"build:ts-types": "npx tsc --project tsconfig.d.json", | ||
"build:browser": "npx -y [email protected] build/*.js --bundle --outdir=browser --keep-names --minify --global-name=global --sourcemap --splitting --chunk-names=chunks/[name]-[hash] --format=esm --target=es2021", | ||
"start": "qcobjects-shell", | ||
"test": "(npm run lint && (npx jasmine))", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
// Type definitions for QCObjects 2.4 | ||
// Project: https://qcobjects.dev | ||
// Definitions by: Jean Machuca <https://github.com/jeanmachuca> | ||
// Definitions: https://qcobjects.dev | ||
|
||
/** | ||
*/ | ||
|
||
import QCObjects from "qcobjects"; | ||
|
||
export = QCObjects; | ||
declare module "QCObjects" { | ||
const _exports: {}; | ||
export = _exports; | ||
} | ||
declare module "index" { | ||
import QCObjects from "QCObjects"; | ||
export default QCObjects; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.