-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from FIameCaster/v3
Finish v3
- Loading branch information
Showing
2,966 changed files
with
198,529 additions
and
12,820 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 |
---|---|---|
|
@@ -25,4 +25,3 @@ dist-ssr | |
|
||
package/readme.md | ||
package/LICENSE | ||
package/src/grammars |
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
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,27 +1,30 @@ | ||
{ | ||
"name": "prism-code-editor", | ||
"version": "2.4.1", | ||
"version": "3.0.0", | ||
"type": "module", | ||
"description": "Lightweight, extensible code editor component for the web using Prism", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./prism": "./dist/prism/index.js", | ||
"./prism/utils": "./dist/prism/utils/index.js", | ||
"./guides": "./dist/extensions/guides.js", | ||
"./web-component": "./dist/webComponent.js", | ||
"./copy-button": "./dist/extensions/copyButton/index.js", | ||
"./copy-button.css": "./dist/copy.css", | ||
"./code-folding.css": "./dist/folding.css", | ||
"./scrollbar.css": "./dist/scrollbar.css", | ||
"./setups": "./dist/setups/index.js", | ||
"./utils": "./dist/utils.js", | ||
"./utils": "./dist/utils/index.js", | ||
"./layout.css": "./dist/layout.css", | ||
"./rtl-layout.css": "./dist/rtl-layout.css", | ||
"./themes/*.css": "./dist/themes/*.css", | ||
"./themes": "./dist/themes/index.js", | ||
"./languages": "./dist/languages/index.js", | ||
"./languages/*": "./dist/languages/*.js", | ||
"./grammars/*": "./dist/grammars/*.js", | ||
"./prism/languages": "./dist/prism/languages/index.js", | ||
"./prism/languages/*": "./dist/prism/languages/*.js", | ||
"./match-brackets": "./dist/extensions/matchBrackets/index.js", | ||
"./highlight-brackets": "./dist/extensions/matchBrackets/highlight.js", | ||
"./match-tags": "./dist/extensions/matchTags.js", | ||
|
@@ -44,20 +47,35 @@ | |
"dist/*" | ||
], | ||
"scripts": { | ||
"dev": "node scripts/buildLangs.cjs && vite", | ||
"build": "node scripts/buildLangs.cjs && tsc && vite build && node scripts/build.mjs", | ||
"dev": "vite", | ||
"build": "tsc && vite build && node scripts/build.mjs", | ||
"preview": "vite preview", | ||
"regex-coverage": "mocha src/prism/tests/coverage.js", | ||
"test": "mocha src/prism/tests/*.js", | ||
"test:core": "mocha src/prism/tests/core-tests.js", | ||
"test:identifiers": "mocha src/prism/tests/identifier-test.js", | ||
"test:languages": "mocha src/prism/tests/run.js", | ||
"test:patterns": "mocha src/prism/tests/pattern-tests.js", | ||
"prepublish": "tsc && vite build && node scripts/build.mjs" | ||
}, | ||
"devDependencies": { | ||
"prismjs": "^1.29.0", | ||
"@types/chai": "^4.3.11", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.0", | ||
"@types/yargs": "^17.0.32", | ||
"chai": "^5.0.0", | ||
"magic-string": "^0.30.5", | ||
"mocha": "^10.2.0", | ||
"prettier": "2.7.1", | ||
"refa": "0.9.1", | ||
"regexp-ast-analysis": "0.2.4", | ||
"regexpp": "^3.2.0", | ||
"scslre": "0.1.6", | ||
"typedoc": "^0.25.1", | ||
"typescript": "^5.0.2", | ||
"vite": "^5.0.7", | ||
"vite-plugin-dts": "^2.3.0" | ||
}, | ||
"dependencies": { | ||
"@types/prismjs": "^1.26.2" | ||
"vite": "^5.0.12", | ||
"vite-plugin-dts": "^2.3.0", | ||
"yargs": "^17.7.2" | ||
}, | ||
"keywords": [ | ||
"editor", | ||
|
@@ -76,11 +94,6 @@ | |
"sideEffects": [ | ||
"*.css", | ||
"./dist/languages/*", | ||
"./dist/grammars/*" | ||
], | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
"./dist/prism/languages/*" | ||
] | ||
} |
Oops, something went wrong.