-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: move to node 18, pnpm, node test runner
- Loading branch information
1 parent
e0840b0
commit cc5daed
Showing
7 changed files
with
2,903 additions
and
3,976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
|
@@ -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", | ||
|
@@ -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" | ||
} |
Oops, something went wrong.