{"_id":"@by-association-only/slate-env","_rev":"2-4b50f9269ec9ffe62cd0784a6bf86284","name":"@by-association-only/slate-env","dist-tags":{"latest":"1.0.0-beta.17.3"},"versions":{"1.0.0-beta.17.3":{"name":"@by-association-only/slate-env","version":"1.0.0-beta.17.3","author":{"name":"Shopify Inc."},"license":"MIT","_id":"@by-association-only/slate-env@1.0.0-beta.17.3","maintainers":[{"name":"dangamble","email":"dangamble89@gmail.com"}],"homepage":"https://github.com/shopify/slate#readme","bugs":{"url":"https://github.com/shopify/slate/issues"},"dist":{"shasum":"a8217a7c03a60a856f3773e0b1f21dcef83d3469","tarball":"https://registry.npmjs.org/@by-association-only/slate-env/-/slate-env-1.0.0-beta.17.3.tgz","fileCount":6,"integrity":"sha512-8xB9IQ0t8wMHCJi7BTuWR14axBruh3RLz85RlY+/jKZ0hMFk53h0HG5XEk193UPiTUye1ZN3Myt+MGkm+kEViA==","signatures":[{"sig":"MEYCIQCBHaqsaKlLG60lsVhG2rnepSeQ4BbDhNaQzaNpYF3gjAIhAP6tI2alL2b0eiiXxzZmx1B0e/9V6G/qMWz45tz9ySSQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgSt5CRA9TVsSAnZWagAA1BgQAJX7hb2i8hKzgc7RzzmV\ne7YGJ6u4K0/gKhowSTM5/4u2aJEwD1F4SKWAiboPkkHL85xnHYgQop8jDGaM\n1mBDeuD43ckmG6xjsBgVtnIJr4EH25WkVjK8SCLXVqBjIK43VaQFAyQIoXN9\niCzo3Ts12SRm8QRSciFIZ01F7qp2ddzf/HetexRR3LwXoOgaV7zuoXfxD+Jx\nV7Ram6N8arBa6mC8mXjLoyTpfU0l/K4RgyliPr1exUVfflDDTsBAFYHxbkJI\nZM4Hmcs3i1JlX4wX8PE4o1DzUgQf33wD0mtB31NqhC5C6QYkdEkX93aGUtVZ\n14x75b++qOKdTv58FssHpFWJXXRsW7KHyuGbO9BevBmK4j1/f/qcNhQsNeYX\nPBJMRNjeWJyg7RI9P+1af7LhIhqI70rEhGmYzEpzQu5VXAl37cWOObfxFNfT\nu1d8z5hEjg0ZOa/bLV+r+QPUaTUXlpFViosmBxOIg29fRocQpQhElGkKeon/\nX1HJ2jJDbYcqv94Bbtizi37nGU02Aw7321bBZ+vAASF562/lEU9C05lPtdXL\nxqY1xB0nGlvyG63p7jwbRY7ild3HnUxOdZo1cPb5tqiE5cNgN/ZhFEztLMJe\nQGgZFZ95jW1fMZzrmdoM+O5NjjMuk8ihJ32HTsuQiT35UL1bWi8ZGyEsPgr6\ngMMW\r\n=WEfh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"748f5149cd58abe2ad2b1f902e6d02cd04b83ce7","_npmUser":{"name":"dangamble","email":"dangamble89@gmail.com"},"repository":{"url":"https://github.com/Shopify/slate/tree/1.x/packages/slate-env","type":"git"},"_npmVersion":"lerna/3.11.0/node@v11.10.1+x64 (darwin)","description":"Manages the environment variables which are needed by Slate to interact with Shopify servers.","directories":{},"_nodeVersion":"11.10.1","dependencies":{"dotenv":"^4.0.0","@by-association-only/slate-config":"1.0.0-beta.17.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/slate-env_1.0.0-beta.17.3_1551969144338_0.8902772690997074","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-03-07T14:32:24.164Z","modified":"2025-02-19T09:06:07.126Z","1.0.0-beta.17.3":"2019-03-07T14:32:24.515Z"},"bugs":{"url":"https://github.com/shopify/slate/issues"},"author":{"name":"Shopify Inc."},"license":"MIT","homepage":"https://github.com/shopify/slate#readme","repository":{"url":"https://github.com/Shopify/slate/tree/1.x/packages/slate-env","type":"git"},"description":"Manages the environment variables which are needed by Slate to interact with Shopify servers.","maintainers":[{"email":"dan@bao.agency","name":"dangamble"},{"email":"m.p.england@gmail.com","name":"eng9911"}],"readme":"# @by-association-only/slate-env\n\nManages the environment variables which are needed by Slate to interact with Shopify servers. Can create and run `.env` files used to store Slate environment variables for development.\n\nBy default, Slate will look for a `.env` file with environment variables.\n\nAlternatively, users can specify `--env` with slate-tools scripts to use associated `.env.{env}` file. For example:\n\n```\n$ slate-tools start --env=production\n```\n\nwill look for a `.env.production` file.\n\n## Default .env file format\n\n```bash\n# The myshopify.com URL to your Shopify store\nSLATE_STORE=\n\n# The API password generated from a Private App\nSLATE_PASSWORD=\n\n# The ID of the theme you wish to upload files to\nSLATE_THEME_ID=\n\n# A list of file patterns to ignore, with each list item separated by ':'\n# These patterns are relative to the `dist/` directory of your project. Slate\n# performs a number of transformations to files in the `src/` before exporting\n# them to `dist/`, so the best way to make sure a file will be ignored is to run\n# `node node_modules/.bin/slate-tools build` or `yarn build` and inspect the\n# contents for the `dist/` directory for files you wish to ignore.\nSLATE_IGNORE_FILES=\n\n# The email of the user to register for Slate analytics. Skips prompt for email.\nSLATE_USER_EMAIL=\n```\n\n# Store / Environment Configuration Tips\n\nKnowing what to put in your `.env` isn't always straightforward. This guide aims to clarify what data is needed, and where to get it.\n\n_Note: [ThemeKit](http://shopify.github.io/themekit/) is the tool that powers Slate deploys. See it's\n[configuration variables documentation](http://shopify.github.io/themekit/configuration/) for more details._\n\n### Finding your SLATE_THEME_ID\n\n\\_**warning:** some commands ([`start`](https://github.com/Shopify/slate-cli#start), [`deploy`](https://github.com/Shopify/slate-cli#deploy)) will overwrite the existing code on this `SLATE_THEME_ID` with your local project's content.\nTo avoid losing work, we suggest you go to [/admin/themes](//www.shopify.com/admin/themes) and duplicate\nan existing theme to work from.\n\nGo to your store's [/admin/themes.xml](//www.shopify.com/admin/themes.xml),\nand copy the `id` for the theme you would like to update:\n\n![https://screenshot.click/17-02-w0fw2-zczky.png](https://screenshot.click/17-02-w0fw2-zczky.png)\n\n![https://screenshot.click/17-04-mng8o-k9da8.png](https://screenshot.click/17-04-mng8o-k9da8.png)\n\n_alternatively, you can set the `SLATE_THEME_ID` to **\"live\"** to update the published theme_\n\n### Generating your SLATE_PASSWORD\n\nNavigate to your store's private apps page ([/admin/apps/private](//www.shopify.com/admin/apps/private)).\n\n![https://screenshot.click/17-06-j9e9m-n2jxa.png](https://screenshot.click/17-06-j9e9m-n2jxa.png)\n\nCreate a new private app and copy the password:\n\n![https://screenshot.click/17-07-u19kf-rx53b.png](https://screenshot.click/17-07-u19kf-rx53b.png)\n\nAssign the private app permissions to \"Read and Write\" for theme templates and theme assets:\n\n![https://screenshot.click/17-09-owv1p-5lugl.png](https://screenshot.click/17-09-owv1p-5lugl.png)\n","readmeFilename":"README.md"}