92 lines
1.9 KiB
JSON
92 lines
1.9 KiB
JSON
{
|
|
"name": "@janhq/core",
|
|
"version": "0.1.10",
|
|
"description": "Jan app core lib",
|
|
"keywords": [
|
|
"jan",
|
|
"core"
|
|
],
|
|
"homepage": "https://jan.ai",
|
|
"license": "AGPL-3.0",
|
|
"main": "dist/core.umd.js",
|
|
"module": "dist/core.es5.js",
|
|
"typings": "dist/types/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"author": "Jan <service@jan.ai>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": ""
|
|
},
|
|
"engines": {
|
|
"node": ">=6.0.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
|
|
"prebuild": "rimraf dist",
|
|
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
|
|
"start": "rollup -c rollup.config.ts -w"
|
|
},
|
|
"lint-staged": {
|
|
"{src,test}/**/*.ts": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
".(ts|tsx)": "ts-jest"
|
|
},
|
|
"testEnvironment": "node",
|
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/test/"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 90,
|
|
"functions": 95,
|
|
"lines": 95,
|
|
"statements": 95
|
|
}
|
|
},
|
|
"collectCoverageFrom": [
|
|
"src/*.{js,ts}"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"singleQuote": true
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^10.11.0",
|
|
"rollup": "^2.38.5",
|
|
"rollup-plugin-commonjs": "^9.1.8",
|
|
"rollup-plugin-json": "^3.1.0",
|
|
"rollup-plugin-node-resolve": "^3.4.0",
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
"rollup-plugin-typescript2": "^0.29.0",
|
|
"ts-node": "^7.0.1",
|
|
"typescript": "^3.0.3",
|
|
"tslib": "^2.6.2"
|
|
},
|
|
"dependencies": {}
|
|
}
|