mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 00:45:32 +00:00
Given we've just run a build, this (a) seems unnecessary, and (b) seems to go wrong in some circumstances anyway, e.g. https://build.palaso.org/buildConfiguration/Keyman_Developer_Release/421326?buildTab=log&focusLine=19936&linesState=18839&logView=flowAware: ``` 07:01:29 > @keymanapp/kmc@17.0.205-alpha prepublishOnly 07:01:29 > npm run build 07:01:29 07:01:31 07:01:31 > @keymanapp/kmc@17.0.205-alpha build 07:01:31 > tsc -b 07:01:31 07:01:35 ../../../common/web/types/build/src/kmx/kmx.d.ts(1,1): error TS1036: Statements are not allowed in ambient contexts. 07:01:35 ../../../common/web/types/build/src/kmx/kmx.d.ts(1,2): error TS1345: An expression of type 'void' cannot be tested for truthiness. ... ```
72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
"name": "@keymanapp/kmc-model",
|
|
"description": "Keyman Developer lexical model compiler",
|
|
"keywords": [
|
|
"keyboard",
|
|
"keyman",
|
|
"unicode",
|
|
"lexical-model",
|
|
"predictive-text"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./build/src/main.js"
|
|
},
|
|
"files": [
|
|
"/build/src/"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -b",
|
|
"lint": "eslint .",
|
|
"test": "npm run lint && cd test && tsc -b && cd .. && c8 --reporter=lcov --reporter=text mocha"
|
|
},
|
|
"author": "Marc Durdin <marc@keyman.com> (https://github.com/mcdurdin)",
|
|
"contributors": [
|
|
"Eddie Antonio Santos <Eddie.Santos@nrc-cnrc.gc.ca>",
|
|
"Joshua Horton"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/keymanapp/keyman/issues"
|
|
},
|
|
"dependencies": {
|
|
"@keymanapp/common-types": "*",
|
|
"@keymanapp/keyman-version": "*",
|
|
"@keymanapp/models-types": "*",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"devDependencies": {
|
|
"@keymanapp/developer-test-helpers": "*",
|
|
"@types/chai": "^4.1.7",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/node": "^20.4.1",
|
|
"c8": "^7.12.0",
|
|
"chai": "^4.3.4",
|
|
"chalk": "^2.4.2",
|
|
"esbuild": "^0.15.7",
|
|
"mocha": "^10.0.0",
|
|
"ts-node": "^10.9.1"
|
|
},
|
|
"mocha": {
|
|
"spec": "build/test/**/test-*.js",
|
|
"require": [
|
|
"source-map-support/register"
|
|
]
|
|
},
|
|
"c8": {
|
|
"all": true,
|
|
"src": [
|
|
"src/"
|
|
],
|
|
"exclude-after-remap": true,
|
|
"exclude": [
|
|
"test/",
|
|
"tools/",
|
|
"src/lexical-model.ts"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/keymanapp/keyman.git"
|
|
}
|
|
}
|