mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-06-14 11:59:19 +00:00
38
package.json
38
package.json
@ -1,26 +1,44 @@
|
||||
{
|
||||
"name": "@tcgdex/sdk",
|
||||
"version": "2.2.0",
|
||||
"main": "./tcgdex.js",
|
||||
"types": "./main.d.ts",
|
||||
"main": "./dist/cjs/tcgdex.js",
|
||||
"module": "./dist/modules/tcgdex.js",
|
||||
"types": "./dist/types/tcgdex.d.ts",
|
||||
"repository": "https://github.com/tcgdex/javascript-sdk.git",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@parcel/packager-ts": "2.0.0-beta.2",
|
||||
"@types/node-fetch": "^2.5.10",
|
||||
"awesome-typescript-loader": "^5.2.1",
|
||||
"ts-node": "^10.0.0",
|
||||
"typescript": "^4.1.3"
|
||||
"typescript": "^4.1.3",
|
||||
"webpack": "^5.40.0",
|
||||
"webpack-nano": "^1.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"isomorphic-unfetch": "^3.1.0"
|
||||
"node-fetch": "^2.6.1",
|
||||
"unfetch": "^4.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --project tsconfig.json",
|
||||
"build": "yarn build:cjs && yarn build:browser && yarn build:es2015",
|
||||
"build:cjs": "tsc --project tsconfig.json",
|
||||
"build:es2015": "tsc --project tsconfig.es2015.json",
|
||||
"build:browser": "wp --config webpack.config.js",
|
||||
"prepublishOnly": "yarn build"
|
||||
},
|
||||
"files": [
|
||||
"*.js",
|
||||
"*.d.ts",
|
||||
"**/*.js",
|
||||
"**/*.d.ts"
|
||||
]
|
||||
"dist"
|
||||
],
|
||||
"sideEffects": false,
|
||||
"targets": {
|
||||
"browser": {
|
||||
"context": "browser",
|
||||
"engines": {
|
||||
"browsers": "since 2017-06"
|
||||
},
|
||||
"includeNodeModules": true,
|
||||
"optimize": false,
|
||||
"scopeHoist": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user