UNPKG

@nguyenmv2/buy-button

Version:

BuyButton.js allows merchants to build Shopify interfaces into any website

124 lines (123 loc) 4.59 kB
{ "name": "@nguyenmv2/buy-button", "version": "2.2.0", "browserslist": [ "last 2 Chrome versions", "last 2 Firefox versions", "last 2 versions", "Safari >= 8", "iOS >= 8", "IE >= 11", "android >= 4.4" ], "description": "BuyButton.js allows merchants to build Shopify interfaces into any website", "main": "lib/buybutton.umd.js", "repository": { "type": "git", "url": "git+ssh://git@github.com/nguyenmv2/buy-button-js.git" }, "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org/" }, "scripts": { "start": "rm -rf tmp && mkdir tmp && yarn run src:watch & yarn run styles:watch & yarn run serve", "build": "yarn run clean && yarn run styles && yarn run images:copy && yarn run src:transpile && yarn run src:build", "test": "yarn run lint && yarn run testem", "serve": "http-server", "lint": "eslint --max-warnings=0 -c .eslintrc src/*", "clean": "rm -rf dist lib && mkdir dist lib", "styles": "yarn run styles-embeds:build && yarn run styles-host:build", "prepublish": "yarn run build", "docs": "jekyll serve -s docs", "testem": "testem ci", "deploy": "node ./script/deploy.js", "src:transpile": "babel ./src --out-dir ./lib", "src:build": "node ./script/build.js", "src:watch": "watchify src/buybutton.js -t babelify --outfile tmp/buybutton.dev.js -v", "test-dev": "yarn run test-mocha:watch | testem", "test-mocha:build": "yarn run styles && browserify test/test.js -t babelify --outfile test/build/test.js", "test-mocha:watch": "yarn run styles && watchify test/test.js -t babelify --outfile test/build/test.js -v", "pretest": "BABEL_ENV=development npm run test-mocha:build", "styles:watch": "watch 'yarn run styles' src/styles/embeds/sass src/styles/host/sass", "styles-embeds:build": "NODE_PATH=./node_modules node ./script/embed-styles", "styles-host:build": "NODE_PATH=./node_modules node ./script/host-styles", "images:copy": "cp -r ./src/images/* ./dist" }, "author": "Shopify Inc.", "license": "MIT", "devDependencies": { "@babel/cli": "7.5.5", "@babel/core": "7.5.5", "@babel/plugin-external-helpers": "7.2.0", "@babel/plugin-transform-arrow-functions": "7.2.0", "@babel/plugin-transform-block-scoped-functions": "7.2.0", "@babel/plugin-transform-block-scoping": "7.5.5", "@babel/plugin-transform-classes": "7.5.5", "@babel/plugin-transform-computed-properties": "7.2.0", "@babel/plugin-transform-destructuring": "7.5.0", "@babel/plugin-transform-duplicate-keys": "7.5.0", "@babel/plugin-transform-function-name": "7.4.4", "@babel/plugin-transform-literals": "7.2.0", "@babel/plugin-transform-modules-commonjs": "7.5.0", "@babel/plugin-transform-object-super": "7.5.5", "@babel/plugin-transform-parameters": "7.4.4", "@babel/plugin-transform-shorthand-properties": "7.2.0", "@babel/plugin-transform-spread": "7.2.2", "@babel/plugin-transform-template-literals": "7.4.4", "@babel/plugin-transform-typeof-symbol": "7.2.0", "@babel/plugin-proposal-object-rest-spread": "^6.26.0", "@shopify/js-uploader": "git+https://github.com/Shopify/js-uploader.git", "aws-sdk": "2.6.8", "babelify": "10.0.0", "chai": "4.2.0", "core-js": "3.1.4", "eslint": "3.3.1", "eslint-plugin-shopify": "13.0", "fetch-pretender": "1.5.0", "global-npm": "0.3.0", "http-server": "0.11.1", "mime-types": "2.1.24", "mocha": "6.2.0", "postcss": "7.0.17", "postcss-calc": "7.0.1", "postcss-import": "12.0.1", "postcss-preset-env": "6.7.0", "pretender": "3.0.2", "rollup": "1.18.0", "rollup-plugin-babel": "4.3.3", "rollup-plugin-commonjs": "10.0.1", "rollup-plugin-node-resolve": "5.2.0", "sinon": "7.4.1", "testem": "2.17.0", "watch": "1.0.2", "watchify": "3.11.1", "wdio-dot-reporter": "0.0.6", "wdio-junit-reporter": "0.1.0", "wdio-mocha-framework": "0.5.13", "webdriverio": "4.2.8", "whatwg-fetch": "3.0.0" }, "dependencies": { "@babel/runtime": "7.5.5", "browserify": "16.3.0", "morphdom": "2.5.5", "mustache": "3.0.1", "node-sass": "4.12.0", "shopify-buy": "2.11.0", "uglify-js": "3.6.0" }, "bugs": { "url": "https://github.com/nguyenmv2/buy-button-js/issues" }, "homepage": "https://github.com/nguyenmv2/buy-button-js#readme", "directories": { "doc": "docs", "lib": "lib", "test": "test" }, "keywords": [ "shopify", "headless-ecommerce" ] }