-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
.DS_Store | ||
*.log | ||
coverage/ | ||
node_modules/ | ||
packages/franc-all/index.js | ||
packages/franc-min/index.js | ||
.DS_Store | ||
*.d.ts | ||
*.log | ||
yarn.lock |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ | |
"author": "Titus Wormer <[email protected]> (http://wooorm.com)", | ||
"type": "module", | ||
"devDependencies": { | ||
"@types/mdast": "^3.0.7", | ||
"@types/parse-author": "^2.0.1", | ||
"@types/tape": "^4.13.2", | ||
"@unicode/unicode-14.0.0": "^1.0.0", | ||
"alpha-sort": "^5.0.0", | ||
"c8": "^7.0.0", | ||
"hast-util-select": "^5.0.0", | ||
|
@@ -25,21 +29,27 @@ | |
"remark-lint-table-pipe-alignment": "^3.0.0", | ||
"remark-preset-wooorm": "^9.0.0", | ||
"remark-stringify": "^10.0.0", | ||
"rimraf": "^3.0.2", | ||
"speakers": "^2.0.0", | ||
"tape": "^5.0.0", | ||
"trigrams": "^5.0.0", | ||
"type-coverage": "^2.18.0", | ||
"type-fest": "^2.0.0", | ||
"typescript": "^4.3.5", | ||
"udhr": "^5.0.0", | ||
"@unicode/unicode-14.0.0": "^1.0.0", | ||
"unified": "^10.0.0", | ||
"xo": "^0.39.0" | ||
}, | ||
"scripts": { | ||
"postinstall": "lerna bootstrap --no-ci", | ||
"generate": "node script/build", | ||
"build-packages": "node script/build.js", | ||
"build-workspace": "lerna run build", | ||
"build-monorepo": "rimraf \"script/**/*.d.ts\" \"test/**/*.d.ts\" && tsc && type-coverage", | ||
"build": "npm run build-packages && npm run build-workspace && npm run build-monorepo", | ||
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", | ||
"test-api": "node --conditions development test/index.js", | ||
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api", | ||
"test": "npm run generate && npm run format && npm run test-coverage" | ||
"test": "npm run build && npm run format && npm run test-coverage" | ||
}, | ||
"prettier": { | ||
"tabWidth": 2, | ||
|
@@ -79,5 +89,11 @@ | |
false | ||
] | ||
] | ||
}, | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"detail": true, | ||
"strict": true, | ||
"ignoreCatch": true | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,6 @@ | |
"detect", | ||
"guess" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"main": "index.js", | ||
"files": [ | ||
"data.js", | ||
"expressions.js", | ||
"index.js" | ||
], | ||
"dependencies": { | ||
"trigram-utils": "^2.0.0" | ||
}, | ||
"repository": "https://github.com/wooorm/franc/tree/main/packages/franc-all", | ||
"bugs": "https://github.com/wooorm/franc/issues", | ||
"funding": { | ||
|
@@ -37,5 +26,29 @@ | |
"Dmitriy Sobolev <[email protected]>", | ||
"Jeff Huijsmans <[email protected]>" | ||
], | ||
"xo": false | ||
"sideEffects": false, | ||
"type": "module", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"data.d.ts", | ||
"data.js", | ||
"expressions.d.ts", | ||
"expressions.js", | ||
"index.d.ts", | ||
"index.js" | ||
], | ||
"dependencies": { | ||
"trigram-utils": "^2.0.0" | ||
}, | ||
"scripts": { | ||
"build": "rimraf \"*.d.ts\" && tsc && type-coverage" | ||
}, | ||
"xo": false, | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"detail": true, | ||
"strict": true, | ||
"ignoreCatch": true | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": ["*.js"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,6 @@ | |
"cli", | ||
"bin" | ||
], | ||
"type": "module", | ||
"main": "index.js", | ||
"bin": { | ||
"franc": "index.js" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"dependencies": { | ||
"franc": "^5.0.0", | ||
"meow": "^10.0.0" | ||
}, | ||
"repository": "https://github.com/wooorm/franc/tree/main/packages/franc-cli", | ||
"bugs": "https://github.com/wooorm/franc/issues", | ||
"funding": { | ||
|
@@ -39,5 +27,26 @@ | |
"Dmitriy Sobolev <[email protected]>", | ||
"Jeff Huijsmans <[email protected]>" | ||
], | ||
"xo": false | ||
"type": "module", | ||
"main": "index.js", | ||
"bin": { | ||
"franc": "index.js" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"dependencies": { | ||
"franc": "^5.0.0", | ||
"meow": "^10.0.0" | ||
}, | ||
"scripts": { | ||
"build": "rimraf \"*.d.ts\" && tsc && type-coverage" | ||
}, | ||
"xo": false, | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"detail": true, | ||
"strict": true, | ||
"ignoreCatch": true | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": ["*.js"] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,6 @@ | |
"detect", | ||
"guess" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"main": "index.js", | ||
"files": [ | ||
"data.js", | ||
"expressions.js", | ||
"index.js" | ||
], | ||
"dependencies": { | ||
"trigram-utils": "^2.0.0" | ||
}, | ||
"repository": "https://github.com/wooorm/franc/tree/main/packages/franc-min", | ||
"bugs": "https://github.com/wooorm/franc/issues", | ||
"funding": { | ||
|
@@ -37,5 +26,29 @@ | |
"Dmitriy Sobolev <[email protected]>", | ||
"Jeff Huijsmans <[email protected]>" | ||
], | ||
"xo": false | ||
"sideEffects": false, | ||
"type": "module", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"data.d.ts", | ||
"data.js", | ||
"expressions.d.ts", | ||
"expressions.js", | ||
"index.d.ts", | ||
"index.js" | ||
], | ||
"dependencies": { | ||
"trigram-utils": "^2.0.0" | ||
}, | ||
"scripts": { | ||
"build": "rimraf \"*.d.ts\" && tsc && type-coverage" | ||
}, | ||
"xo": false, | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"detail": true, | ||
"strict": true, | ||
"ignoreCatch": true | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": ["*.js"] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.