add @babel/plugin-transform-runtime to ligo-snippets

This commit is contained in:
Edmond Lee 2020-06-09 16:33:19 -07:00
parent 612694d603
commit 582dacf5d5
3 changed files with 27 additions and 4 deletions

View File

@ -4,5 +4,5 @@
"@babel/preset-env", "@babel/preset-env",
"@babel/preset-typescript" "@babel/preset-typescript"
], ],
"plugins": ["@babel/plugin-transform-react-jsx"] "plugins": ["@babel/plugin-transform-react-jsx", "@babel/plugin-transform-runtime"]
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "ligosnippetz", "name": "@ligolang/ligo-snippets",
"version": "1.0.0", "version": "1.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -919,6 +919,18 @@
"@babel/helper-plugin-utils": "^7.10.1" "@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": { "@babel/plugin-transform-shorthand-properties": {
"version": "7.10.1", "version": "7.10.1",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.1.tgz", "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" "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": { "loader-runner": {
"version": "2.4.0", "version": "2.4.0",
"resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz",
@ -6695,6 +6712,11 @@
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
"dev": true "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": { "prismjs": {
"version": "1.20.0", "version": "1.20.0",
"resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.20.0.tgz", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.20.0.tgz",

View File

@ -1,6 +1,6 @@
{ {
"name": "@ligolang/ligo-snippets", "name": "@ligolang/ligo-snippets",
"version": "1.0.0", "version": "1.0.1",
"main": "./lib/index.js", "main": "./lib/index.js",
"scripts": { "scripts": {
"build": "webpack" "build": "webpack"
@ -17,6 +17,7 @@
"@babel/cli": "^7.8.4", "@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7", "@babel/core": "^7.8.7",
"@babel/plugin-transform-react-jsx": "^7.8.3", "@babel/plugin-transform-react-jsx": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.10.1",
"@babel/preset-env": "^7.8.7", "@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3", "@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3", "@babel/preset-typescript": "^7.8.3",