mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
b9565bc290
This is an initial start to using TypeScript in our non-core Ghost packages. - Adds a prepare script to build the project after installing deps - Adds an initial tsconfig.json which is compatible with our node env - Migrates all of the code to TypeScript, including tests - Updates tests to use ts-node so that we don't need to compile the tests - ts-node is installed at the top level because the env is weird with lerna and doesn't work otherwise - Updates the yarn dev script to build the project with the --all and --revisions flag
8 lines
136 B
JavaScript
8 lines
136 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['ghost'],
|
|
extends: [
|
|
'plugin:ghost/node'
|
|
]
|
|
};
|