Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Dec 7, 2017
1 parent 81019bd commit b1f940d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"eslint-plugin-shopify": "^16.0.1"
},
"dependencies": {
"@babel/plugin-proposal-decorators": "^7.0.0-beta.34",
"@babel/plugin-transform-runtime": "^7.0.0-beta.34",
"@babel/preset-env": "^7.0.0-beta.34",
"@babel/preset-flow": "^7.0.0-beta.34",
Expand Down
3 changes: 3 additions & 0 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ module.exports = function shopifyTypeScriptPreset() {
presets: [
require.resolve('@babel/preset-typescript'),
],
plugins: [
require.resolve('@babel/plugin-proposal-decorators'),
],
};
};
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@
"@babel/helper-function-name" "7.0.0-beta.34"
"@babel/plugin-syntax-class-properties" "7.0.0-beta.34"

"@babel/plugin-proposal-decorators@^7.0.0-beta.34":
version "7.0.0-beta.34"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.0.0-beta.34.tgz#9498f6c33a39ff52762a0f35485bee1a2661fb5e"
dependencies:
"@babel/plugin-syntax-decorators" "7.0.0-beta.34"

"@babel/plugin-proposal-object-rest-spread@7.0.0-beta.34":
version "7.0.0-beta.34"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0-beta.34.tgz#46720e93548d7504a11933b720bd3784426a9026"
Expand Down Expand Up @@ -220,6 +226,10 @@
version "7.0.0-beta.34"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.0.0-beta.34.tgz#d345b262622ff9500d9ad039aa0b77a94b4b8dd5"

"@babel/plugin-syntax-decorators@7.0.0-beta.34":
version "7.0.0-beta.34"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.0.0-beta.34.tgz#c3036372e567fcc3aff0b7dc3fff8ac276c5fed5"

"@babel/plugin-syntax-dynamic-import@7.0.0-beta.34":
version "7.0.0-beta.34"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-beta.34.tgz#05b1e58e4c3f412edb28aa0346c14c5f13c41b46"
Expand Down

0 comments on commit b1f940d

Please sign in to comment.