1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-31 10:11:52 +02:00

.esm suffix for module bundle, marked/highlight.js are installed via npm

This commit is contained in:
Hakim El Hattab
2020-05-04 10:39:37 +02:00
parent a4cb3307bb
commit 60cd098c8d
42 changed files with 270 additions and 2154 deletions

View File

@@ -4,7 +4,8 @@
"description": "The HTML Presentation Framework",
"homepage": "https://revealjs.com",
"subdomain": "revealjs",
"main": "js/reveal.js",
"main": "dist/reveal.js",
"module": "dist/reveal.esm.js",
"license": "MIT",
"scripts": {
"test": "gulp test",
@@ -23,9 +24,16 @@
"engines": {
"node": ">=10.0.0"
},
"keywords": [
"reveal",
"slides",
"presentation"
],
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"babel-eslint": "^10.1.0",
"colors": "^1.4.0",
"core-js": "^3.6.5",
@@ -46,6 +54,10 @@
"rollup-plugin-terser": "^5.3.0",
"yargs": "^15.1.0"
},
"dependencies": {
"highlight.js": "^10.0.1",
"marked": "^1.0.0"
},
"browserslist": "> 0.5%, IE 11, not dead",
"eslintConfig": {
"env": {