mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
fix: compile for es2021
This commit is contained in:
parent
0e5e762203
commit
33f235c7d7
3 changed files with 56 additions and 47 deletions
14
package.json
14
package.json
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "classcharts-api",
|
"name": "classcharts-api",
|
||||||
"version": "0.0.8",
|
"version": "0.0.10",
|
||||||
"description": "",
|
"description": "",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "https://github.com/jamesatjaminit/classcharts-api"
|
"url": "https://github.com/jamesatjaminit/classcharts-api"
|
||||||
|
|
@ -9,21 +9,23 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "npm run build",
|
"prepare": "npm run build",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"generateDocs": "pnpm typedoc --entryPointStrategy expand ./src"
|
"generateDocs": "pnpm typedoc --entryPointStrategy expand ./src",
|
||||||
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici": "^4.10.3"
|
"undici": "^4.11.3"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**",
|
"dist/**",
|
||||||
"types.d.ts"
|
"types.d.ts"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^16.11.10",
|
"@types/node": "^16.11.12",
|
||||||
"typedoc": "^0.22.9",
|
"dotenv": "^10.0.0",
|
||||||
"typescript": "^4.5.2"
|
"typedoc": "^0.22.10",
|
||||||
|
"typescript": "^4.5.3"
|
||||||
},
|
},
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
}
|
}
|
||||||
43
pnpm-lock.yaml
generated
43
pnpm-lock.yaml
generated
|
|
@ -1,23 +1,25 @@
|
||||||
lockfileVersion: 5.3
|
lockfileVersion: 5.3
|
||||||
|
|
||||||
specifiers:
|
specifiers:
|
||||||
'@types/node': ^16.11.6
|
'@types/node': ^16.11.12
|
||||||
typedoc: ^0.22.7
|
dotenv: ^10.0.0
|
||||||
typescript: ^4.4.4
|
typedoc: ^0.22.10
|
||||||
undici: ^4.9.2
|
typescript: ^4.5.3
|
||||||
|
undici: ^4.11.3
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
undici: 4.9.2
|
undici: 4.11.3
|
||||||
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/node': 16.11.6
|
'@types/node': 16.11.12
|
||||||
typedoc: 0.22.7_typescript@4.4.4
|
dotenv: 10.0.0
|
||||||
typescript: 4.4.4
|
typedoc: 0.22.10_typescript@4.5.3
|
||||||
|
typescript: 4.5.3
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
/@types/node/16.11.6:
|
/@types/node/16.11.12:
|
||||||
resolution: {integrity: sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==}
|
resolution: {integrity: sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/balanced-match/1.0.2:
|
/balanced-match/1.0.2:
|
||||||
|
|
@ -35,6 +37,11 @@ packages:
|
||||||
resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
|
resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/dotenv/10.0.0:
|
||||||
|
resolution: {integrity: sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==}
|
||||||
|
engines: {node: '>=10'}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/fs.realpath/1.0.0:
|
/fs.realpath/1.0.0:
|
||||||
resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=}
|
resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
@ -112,29 +119,29 @@ packages:
|
||||||
vscode-textmate: 5.2.0
|
vscode-textmate: 5.2.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/typedoc/0.22.7_typescript@4.4.4:
|
/typedoc/0.22.10_typescript@4.5.3:
|
||||||
resolution: {integrity: sha512-ndxxp+tU1Wczvdxp4u2/PvT1qjD6hdFdSdehpORHjE+JXmMkl2bftXCR0upHmsnesBG7VCcr8vfgloGHIH8glQ==}
|
resolution: {integrity: sha512-hQYZ4WtoMZ61wDC6w10kxA42+jclWngdmztNZsDvIz7BMJg7F2xnT+uYsUa7OluyKossdFj9E9Ye4QOZKTy8SA==}
|
||||||
engines: {node: '>= 12.10.0'}
|
engines: {node: '>= 12.10.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: 4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x
|
typescript: 4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x
|
||||||
dependencies:
|
dependencies:
|
||||||
glob: 7.2.0
|
glob: 7.2.0
|
||||||
lunr: 2.3.9
|
lunr: 2.3.9
|
||||||
marked: 3.0.8
|
marked: 3.0.8
|
||||||
minimatch: 3.0.4
|
minimatch: 3.0.4
|
||||||
shiki: 0.9.12
|
shiki: 0.9.12
|
||||||
typescript: 4.4.4
|
typescript: 4.5.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/typescript/4.4.4:
|
/typescript/4.5.3:
|
||||||
resolution: {integrity: sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==}
|
resolution: {integrity: sha512-eVYaEHALSt+s9LbvgEv4Ef+Tdq7hBiIZgii12xXJnukryt3pMgJf6aKhoCZ3FWQsu6sydEnkg11fYXLzhLBjeQ==}
|
||||||
engines: {node: '>=4.2.0'}
|
engines: {node: '>=4.2.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/undici/4.9.2:
|
/undici/4.11.3:
|
||||||
resolution: {integrity: sha512-O8D4fp0cT7/bOMe7XE2oc0PaBCyc0GsahzQ+nMSeWW0o0+EB2ykXYNhU0kY2nKP589zzS91pLj979NtJrBRwFQ==}
|
resolution: {integrity: sha512-bLOCH2juB9gAkqE4a4zb+eMGhI8XD4SH1tF9Qu9J3Y8TA379Xxg7lWRMiDvc36pRWV1z9/HICv05fXkeeLw1Dg==}
|
||||||
engines: {node: '>=12.18'}
|
engines: {node: '>=12.18'}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
||||||
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
||||||
/* Language and Environment */
|
/* Language and Environment */
|
||||||
"target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
"target": "es2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
||||||
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
||||||
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
// "jsx": "preserve", /* Specify what JSX code is generated. */
|
||||||
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
|
// "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue