mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-12 08:54:00 +02:00
14 lines
344 B
TypeScript
14 lines
344 B
TypeScript
import { execCommand, getRootDir } from '@joplin/utils';
|
|
import { chdir } from 'process';
|
|
|
|
const main = async () => {
|
|
const rootDir = await getRootDir();
|
|
chdir(rootDir);
|
|
await execCommand('yarn run npmPkgJsonLint --configFile .npmpackagejsonlintrc.json --quiet .');
|
|
};
|
|
|
|
main().catch((error) => {
|
|
console.error(error);
|
|
process.exit(1);
|
|
});
|