packages and configs
This commit is contained in:
parent
81d855e5a6
commit
3d6cfaaaaa
50
example/ts/package-lock.json
generated
Normal file
50
example/ts/package-lock.json
generated
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"name": "kitten-ipc-example",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"": {
|
||||||
|
"name": "kitten-ipc-example",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"license": "Apache 2.0"
|
||||||
|
},
|
||||||
|
"../../../../../../opt/homebrew/lib/node_modules/list": {
|
||||||
|
"version": "2.0.19",
|
||||||
|
"extraneous": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/chai": "^4.2.3",
|
||||||
|
"@types/mocha": "^5.2.7",
|
||||||
|
"@types/ramda": "^0.26.28",
|
||||||
|
"babel-cli": "^6.26.0",
|
||||||
|
"babel-core": "^6.26.3",
|
||||||
|
"babel-plugin-annotate-pure-calls": "^0.4.0",
|
||||||
|
"chai": "4.2.0",
|
||||||
|
"cherry-pick": "^0.5.0",
|
||||||
|
"codecov": "^3.6.1",
|
||||||
|
"fast-check": "^1.17.0",
|
||||||
|
"mocha": "^6.2.1",
|
||||||
|
"np": "^5.1.0",
|
||||||
|
"nyc": "^14.1.1",
|
||||||
|
"prettier": "1.18.2",
|
||||||
|
"proptest": "0.0.4",
|
||||||
|
"ramda": "0.26.1",
|
||||||
|
"source-map-support": "^0.5.13",
|
||||||
|
"ts-node": "^8.4.1",
|
||||||
|
"tslint": "^5.20.0",
|
||||||
|
"typescript": "^3.6.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"../../lib/ts": {
|
||||||
|
"name": "kitten-ipc",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"extraneous": true,
|
||||||
|
"license": "Apache 2.0",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/node": "^22.10.5",
|
||||||
|
"ts-events": "^3.4.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,13 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "kitten-example-simple",
|
"name": "kitten-ipc-example",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"author": "Egor3f <ef@efprojects.com>",
|
||||||
|
"license": "Apache 2.0",
|
||||||
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
|
||||||
"build": "tsc"
|
"build": "tsc"
|
||||||
},
|
}
|
||||||
"author": "",
|
|
||||||
"license": "ISC",
|
|
||||||
"description": ""
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,46 +1,33 @@
|
|||||||
{
|
{
|
||||||
// Visit https://aka.ms/tsconfig to read more about this file
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// File Layout
|
"rootDir": "./src",
|
||||||
// "rootDir": "./src",
|
"outDir": "./dist",
|
||||||
// "outDir": "./dist",
|
|
||||||
|
|
||||||
// Environment Settings
|
|
||||||
// See also https://aka.ms/tsconfig/module
|
|
||||||
"module": "nodenext",
|
"module": "nodenext",
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"types": [],
|
|
||||||
// For nodejs:
|
|
||||||
// "lib": ["esnext"],
|
// "lib": ["esnext"],
|
||||||
// "types": ["node"],
|
// "types": ["node"],
|
||||||
// and npm install -D @types/node
|
|
||||||
|
|
||||||
// Other Outputs
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
|
|
||||||
// Stricter Typechecking Options
|
|
||||||
"noUncheckedIndexedAccess": true,
|
"noUncheckedIndexedAccess": true,
|
||||||
"exactOptionalPropertyTypes": true,
|
"exactOptionalPropertyTypes": true,
|
||||||
|
|
||||||
// Style Options
|
|
||||||
// "noImplicitReturns": true,
|
|
||||||
// "noImplicitOverride": true,
|
|
||||||
// "noUnusedLocals": true,
|
|
||||||
// "noUnusedParameters": true,
|
|
||||||
// "noFallthroughCasesInSwitch": true,
|
|
||||||
// "noPropertyAccessFromIndexSignature": true,
|
|
||||||
|
|
||||||
// Recommended Options
|
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"jsx": "react-jsx",
|
"noImplicitReturns": true,
|
||||||
"verbatimModuleSyntax": true,
|
"noImplicitOverride": true,
|
||||||
"isolatedModules": true,
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"noPropertyAccessFromIndexSignature": true,
|
||||||
"noUncheckedSideEffectImports": true,
|
"noUncheckedSideEffectImports": true,
|
||||||
"moduleDetection": "force",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
|
|
||||||
"allowImportingTsExtensions": true
|
"moduleDetection": "force",
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
|
|
||||||
|
// "isolatedModules": true,
|
||||||
|
// "skipLibCheck": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,14 +1,25 @@
|
|||||||
{
|
{
|
||||||
"name": "kitten-ipc",
|
"name": "kitten-ipc",
|
||||||
|
"description": "ipc lib",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "lib.ts",
|
"author": "Egor3f <ef@efprojects.com>",
|
||||||
|
"license": "Apache 2.0",
|
||||||
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"main": "./dist/index.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"types": "./dist/types.d.ts",
|
||||||
|
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.js",
|
||||||
|
"types": "./dist/types.d.ts"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"author": "",
|
|
||||||
"license": "ISC",
|
"scripts": {
|
||||||
"description": "",
|
"build": "tsc"
|
||||||
|
},
|
||||||
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^22.10.5",
|
"@types/node": "^22.10.5",
|
||||||
"ts-events": "^3.4.1"
|
"ts-events": "^3.4.1"
|
||||||
|
|||||||
@ -1,46 +1,33 @@
|
|||||||
{
|
{
|
||||||
// Visit https://aka.ms/tsconfig to read more about this file
|
// Visit https://aka.ms/tsconfig to read more about this file
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// File Layout
|
"rootDir": "./src",
|
||||||
// "rootDir": "./src",
|
"outDir": "./dist",
|
||||||
// "outDir": "./dist",
|
|
||||||
|
|
||||||
// Environment Settings
|
"module": "Node16",
|
||||||
// See also https://aka.ms/tsconfig/module
|
"target": "ES2022",
|
||||||
"module": "nodenext",
|
"lib": ["ES2022"],
|
||||||
"target": "esnext",
|
|
||||||
"types": ["node"],
|
|
||||||
// For nodejs:
|
|
||||||
// "lib": ["esnext"],
|
|
||||||
// "types": ["node"],
|
|
||||||
// and npm install -D @types/node
|
|
||||||
|
|
||||||
// Other Outputs
|
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
|
|
||||||
// Stricter Typechecking Options
|
"strict": true,
|
||||||
"noUncheckedIndexedAccess": true,
|
"noUncheckedIndexedAccess": true,
|
||||||
"exactOptionalPropertyTypes": true,
|
"exactOptionalPropertyTypes": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
// Style Options
|
"noImplicitOverride": true,
|
||||||
// "noImplicitReturns": true,
|
|
||||||
// "noImplicitOverride": true,
|
|
||||||
// "noUnusedLocals": true,
|
// "noUnusedLocals": true,
|
||||||
// "noUnusedParameters": true,
|
// "noUnusedParameters": true,
|
||||||
// "noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
// "noPropertyAccessFromIndexSignature": true,
|
"noPropertyAccessFromIndexSignature": true,
|
||||||
|
|
||||||
// Recommended Options
|
|
||||||
"strict": true,
|
|
||||||
"jsx": "react-jsx",
|
|
||||||
"verbatimModuleSyntax": true,
|
|
||||||
"isolatedModules": true,
|
|
||||||
"noUncheckedSideEffectImports": true,
|
"noUncheckedSideEffectImports": true,
|
||||||
"moduleDetection": "force",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
|
|
||||||
"allowImportingTsExtensions": true
|
"verbatimModuleSyntax": true,
|
||||||
}
|
"moduleDetection": "force",
|
||||||
|
// "isolatedModules": true,
|
||||||
|
// "skipLibCheck": true
|
||||||
|
},
|
||||||
|
"include": ["src"],
|
||||||
|
"exclude": ["node_modules", "dist"],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user