mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-09 06:30:40 +02:00
Add Javascript Examples Support (#5722)
* chore: moved all ts files for examples to examples/ts * add: tsc to eject js and jsx output * example: add js transpiled examples * example: update example site to show both js and ts code * chore: fix yarn lint * fix(example): getAllExamplesPath
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
"test:integration-local": "run-p -r serve playwright",
|
||||
"test:mocha": "mocha --require ./config/babel/register.cjs ./packages/{slate,slate-history,slate-hyperscript}/test/**/*.{js,ts}",
|
||||
"test:jest": "jest --config jest.config.js",
|
||||
"tsc:examples": "tsc --project ./site/tsconfig.example.json",
|
||||
"watch": "yarn build:rollup --watch",
|
||||
"playwright": "playwright test"
|
||||
},
|
||||
|
Reference in New Issue
Block a user