@logto/language-kit
Advanced tools
Comparing version 1.0.0-beta.29 to 1.0.0-beta.30
import type { languages } from './const.js'; | ||
export declare type LanguageTag = keyof typeof languages; | ||
export type LanguageTag = keyof typeof languages; |
{ | ||
"name": "@logto/language-kit", | ||
"version": "1.0.0-beta.29", | ||
"version": "1.0.0-beta.30", | ||
"author": "Silverhand Inc. <contact@silverhand.io>", | ||
@@ -10,7 +10,7 @@ "homepage": "https://github.com/logto-io/toolkit#readme", | ||
}, | ||
"license": "MIT", | ||
"license": "MPL-2.0", | ||
"type": "module", | ||
"source": "./src/index.ts", | ||
"main": "./lib/index.cjs", | ||
"exports": { | ||
"types": "./lib/index.d.ts", | ||
"import": "./lib/index.js", | ||
@@ -23,16 +23,7 @@ "require": "./lib/index.cjs" | ||
], | ||
"scripts": { | ||
"precommit": "lint-staged", | ||
"build": "rm -rf lib/ && rollup -c && tsc -p tsconfig.build.json", | ||
"lint": "eslint --ext .ts src", | ||
"lint:report": "pnpm lint --format json --output-file report.json", | ||
"prepack": "pnpm build", | ||
"test": "jest", | ||
"test:coverage": "jest --silent --coverage" | ||
}, | ||
"engines": { | ||
"node": "^16.13.0 || ^18.12.0" | ||
}, | ||
"peerDependencies": { | ||
"zod": "^3.19.1" | ||
"optionalDependencies": { | ||
"zod": "^3.20.2" | ||
}, | ||
@@ -49,8 +40,6 @@ "devDependencies": { | ||
"lint-staged": "^13.0.0", | ||
"prettier": "^2.7.1", | ||
"prettier": "^2.8.1", | ||
"rollup": "^3.6.0", | ||
"ts-jest": "^29.0.1", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.7.4", | ||
"zod": "^3.19.1" | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -64,3 +53,13 @@ "eslintConfig": { | ||
}, | ||
"gitHead": "6d7b4b80b6dfdfc57780f00adf60d9c488951ce6" | ||
} | ||
"scripts": { | ||
"precommit": "lint-staged", | ||
"build": "rm -rf lib/ && rollup -c && tsc -p tsconfig.build.json", | ||
"build:test": "pnpm build -p tsconfig.test.json --sourcemap", | ||
"lint": "eslint --ext .ts src", | ||
"lint:report": "pnpm lint --format json --output-file report.json", | ||
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest", | ||
"test": "pnpm build:test && pnpm test:only", | ||
"test:ci": "pnpm test:only", | ||
"test:coverage": "pnpm test:only --silent --coverage" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
31847
13
2
70