Page MenuHomeSealhub

No OneTemporary

diff --git a/package.json b/package.json
index 56d72b4..a8fcea0 100644
--- a/package.json
+++ b/package.json
@@ -1,45 +1,45 @@
{
"name": "@sealcode/cosealious",
"version": "0.1.5",
"description": "Helper functions for Sealious-made API",
- "main": "lib/index.js",
+ "main": "./index.js",
"files": [
- "lib/*",
+ "lib/**/*",
"@types/*"
],
- "types": "@types/index.d.ts",
+ "types": "./index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"compile": "tsc --outDir lib/$FLAVOR",
"use-api": "rm -f src/react-api/api.ts && ln -s ./$FLAVOR-api.ts src/react-api/api.ts",
"build-for-flavor": "npm run use-api && npm run compile && cp -f package.json lib/$FLAVOR/package.json && json -I -f lib/$FLAVOR/package.json -e \"this.peerDependencies={'$FLAVOR': this.peerDependencies['$FLAVOR']}\"",
"build": "FLAVOR=preact npm run build-for-flavor && FLAVOR=react npm run build-for-flavor",
"watch": "tsc --watch"
},
"repository": {
"type": "git",
"url": "https://hub.sealcode.org/source/cosealious/"
},
"author": "",
"license": "ISC",
"dependencies": {
"@3846masa/axios-cookiejar-support": "^1.0.0",
"@babel/runtime-corejs2": "^7.9.2",
"axios": "^0.19.2",
"babel-polyfill": "^6.26.0",
"eventemitter3": "^4.0.0",
"qs": "^6.9.3"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@types/qs": "^6.9.1",
"@types/react": "^16.9.34",
"json": "^9.0.6",
"typescript": "^3.8.3"
},
"peerDependencies": {
"react": "^16.13.1",
"preact": "^10.4.1"
}
}
diff --git a/tsconfig.json b/tsconfig.json
index 721a40c..b396131 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,16 +1,14 @@
{
"compilerOptions": {
"module": "commonjs",
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"target": "es6",
"declaration": true,
"esModuleInterop": true,
"jsx": "react",
- "lib": ["es2017", "dom"],
- "outDir": "lib",
- "declarationDir": "@types"
+ "lib": ["es2017", "dom"]
},
"include": ["src/**/*"]
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Oct 11, 10:29 (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
984215
Default Alt Text
(2 KB)

Event Timeline