Skip to content

Commit

Permalink
Breaking: move to node 18, pnpm, node test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrHovhannisyan committed Nov 11, 2024
1 parent e0840b0 commit cc5daed
Show file tree
Hide file tree
Showing 7 changed files with 2,903 additions and 3,976 deletions.
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "eleventy-plugin-code-demo",
"version": "1.0.1",
"type": "module",
"engines": {
"node": ">=18"
},
"main": "src/index.js",
"description": "Add interactive code demos to an Eleventy site with iframes",
"keywords": [
"eleventy",
"eleventy-plugin",
"iframe"
],
"main": "src/index.js",
"files": [
"src/index.js",
"src/utils.js",
Expand All @@ -27,8 +31,8 @@
"license": "MIT",
"scripts": {
"dev": "cross-env ELEVENTY_ENV=development npx @11ty/eleventy --serve --incremental",
"test": "npx jest",
"test:watch": "npx jest --watch"
"test": "node --test",
"test:watch": "pnpm run test --watch"
},
"dependencies": {
"@minify-html/node": "0.10.3",
Expand All @@ -44,18 +48,17 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "4.3.0",
"jest": "^29.3.1",
"lint-staged": "12.1.7",
"prettier": "^2.7.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-checkout": "yarn"
"post-checkout": "pnpm install"
}
},
"lint-staged": {
"*.js": "yarn run lint:js:fix"
"*.js": "pnpm run lint:js:fix"
},
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
"packageManager": "[email protected]+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}
Loading

0 comments on commit cc5daed

Please sign in to comment.