Skip to content

Commit

Permalink
Replace ts-node with babel-node
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Oct 27, 2020
1 parent 74c9d3d commit 488c9f7
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 212 deletions.
7 changes: 3 additions & 4 deletions package.json
Expand Up @@ -4,7 +4,6 @@
"homepage": "https://remirror.io",
"repository": "https://github.com/remirror/remirror",
"scripts": {
"audit": "pnpm audit --audit-level high",
"browser:coverage": "browserslist --coverage",
"build": "preconstruct build",
"postbuild": "run-s css:copy",
Expand All @@ -13,7 +12,7 @@
"build:docs": "cd support/website && pnpm build && cp ./_redirects ./build/_redirects",
"changeset": "changeset",
"check:pnpm": "node support/scripts/check-pnpm.js",
"checks": "run-s audit lint typecheck test",
"checks": "run-s lint typecheck test",
"checks:ci": "run-s lint typecheck",
"checks:disable": "rimraf ./.config.json",
"checks:enable": "cpy support/.config.sample.json ./ --rename=\".config.json\"",
Expand Down Expand Up @@ -70,7 +69,7 @@
"test:build": "cross-env TEST_BUILD=true jest --verbose --coverage=false",
"test:e2e": "manypkg run support/e2e chromium",
"test:watch": "jest --watch --verbose=false --coverage=false",
"ts": "ts-node -P support/tsconfig.base.json -O '{\"module\":\"commonjs\"}' --transpile-only",
"ts": "cross-env REMIRROR_SCRIPT=true babel-node --extensions=\".js\",\".jsx\",\".ts\",\".tsx\",\".json\",\".mjs\"",
"typecheck": "tsc -b ./tsconfig.references.json",
"update:deps": "pnpm update --latest --recursive -i",
"update:workspace": "pnpm up -r --workspace \"@remirror/*\"",
Expand All @@ -88,6 +87,7 @@
],
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/node": "^7.12.1",
"@babel/parser": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.1",
Expand Down Expand Up @@ -166,7 +166,6 @@
"rimraf": "^3.0.2",
"size-limit": "^4.6.2",
"snapshot-diff": "^0.8.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.3",
"typescript-plugin-css-modules": "^2.7.0",
"typescript-snapshots-plugin": "^1.7.0",
Expand Down

1 comment on commit 488c9f7

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://remirror.io as production
🚀 Deployed on https://5f97cffe158a0034132e235b--remirror.netlify.app

Please sign in to comment.