diff --git a/tools/ligo-snippets/.babelrc b/tools/ligo-snippets/.babelrc index 40a90b458..3495931f8 100644 --- a/tools/ligo-snippets/.babelrc +++ b/tools/ligo-snippets/.babelrc @@ -4,5 +4,5 @@ "@babel/preset-env", "@babel/preset-typescript" ], - "plugins": ["@babel/plugin-transform-react-jsx"] + "plugins": ["@babel/plugin-transform-react-jsx", "@babel/plugin-transform-runtime"] } diff --git a/tools/ligo-snippets/package-lock.json b/tools/ligo-snippets/package-lock.json index 4dda6e783..d2bfdd86c 100644 --- a/tools/ligo-snippets/package-lock.json +++ b/tools/ligo-snippets/package-lock.json @@ -1,6 +1,6 @@ { - "name": "ligosnippetz", - "version": "1.0.0", + "name": "@ligolang/ligo-snippets", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -919,6 +919,18 @@ "@babel/helper-plugin-utils": "^7.10.1" } }, + "@babel/plugin-transform-runtime": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.10.1.tgz", + "integrity": "sha512-4w2tcglDVEwXJ5qxsY++DgWQdNJcCCsPxfT34wCUwIf2E7dI7pMpH8JczkMBbgBTNzBX62SZlNJ9H+De6Zebaw==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.10.1", + "@babel/helper-plugin-utils": "^7.10.1", + "resolve": "^1.8.1", + "semver": "^5.5.1" + } + }, "@babel/plugin-transform-shorthand-properties": { "version": "7.10.1", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.1.tgz", @@ -5046,6 +5058,11 @@ "type-check": "~0.3.2" } }, + "ligo-snippets-css": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/ligo-snippets-css/-/ligo-snippets-css-0.0.1.tgz", + "integrity": "sha512-8qZ3TO198MX03HJw5YzTe5am63hacUtYzZEt2DlLtLP22Iri2UvLnckVXisZEVt0w18kM6aDhtMarAz127/z4g==" + }, "loader-runner": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", @@ -6695,6 +6712,11 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, + "prism-react-renderer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.1.1.tgz", + "integrity": "sha512-MgMhSdHuHymNRqD6KM3eGS0PNqgK9q4QF5P0yoQQvpB6jNjeSAi3jcSAz0Sua/t9fa4xDOMar9HJbLa08gl9ug==" + }, "prismjs": { "version": "1.20.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.20.0.tgz", diff --git a/tools/ligo-snippets/package.json b/tools/ligo-snippets/package.json index 13b074800..99fbc34c3 100644 --- a/tools/ligo-snippets/package.json +++ b/tools/ligo-snippets/package.json @@ -1,6 +1,6 @@ { "name": "@ligolang/ligo-snippets", - "version": "1.0.0", + "version": "1.0.1", "main": "./lib/index.js", "scripts": { "build": "webpack" @@ -17,6 +17,7 @@ "@babel/cli": "^7.8.4", "@babel/core": "^7.8.7", "@babel/plugin-transform-react-jsx": "^7.8.3", + "@babel/plugin-transform-runtime": "^7.10.1", "@babel/preset-env": "^7.8.7", "@babel/preset-react": "^7.8.3", "@babel/preset-typescript": "^7.8.3",