forked from Shopify/buy-button-js
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
113 lines (113 loc) · 4.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@shopify/buy-button-js",
"version": "2.4.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": "git@github.com:Shopify/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",
"---------- dist": null,
"src:transpile": "babel ./src --out-dir ./lib",
"src:build": "node ./script/build.js",
"---------- dev": null,
"src:watch": "watchify src/buybutton.js -t babelify --outfile tmp/buybutton.dev.js -v",
"---------- test": null,
"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",
"---------- css": null,
"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": null,
"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",
"@shopify/js-uploader": "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",
"webdriverio": "4.2.8",
"whatwg-fetch": "3.0.0"
},
"dependencies": {
"@babel/runtime": "7.18.9",
"browserify": "16.3.0",
"morphdom": "2.6.1",
"mustache": "3.0.1",
"sass": "1.54.3",
"shopify-buy": "2.20.0",
"uglify-js": "3.16.3"
},
"resolutions": {
"fibers": "5.0.0"
}
}