-
Notifications
You must be signed in to change notification settings - Fork 270
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 4.09 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 4.09 KB
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
{
"name": "shopify-buy",
"version": "3.0.7",
"description": "The JS Buy SDK is a lightweight library that allows you to build ecommerce into any website. It is based on Shopify's API and provides the ability to retrieve products and collections from your shop, add products to a cart, and checkout.",
"main": "index.js",
"jsnext:main": "index.es.js",
"repository": {
"url": "git+https://github.com/Shopify/js-buy-sdk.git",
"type": "git"
},
"publishConfig": {
"access": "public",
"@shopify:registry": "https://registry.npmjs.org/",
"provenance": true
},
"scripts": {
"prepublish": "npm run build",
"build": "npm run build:optimized && npm run build:unoptimized",
"build:optimized": "rollup -c && npm run minify-umd:optimized",
"build:unoptimized": "rollup -c rollup-unoptimized.config.js && npm run minify-umd:unoptimized",
"start": "npm run clean && npm run setup-paths && concurrently --names DEPS,LIVERELOAD,ROLLUP,HTTP,NOTIFIER 'npm run test:web-deps' 'npm run test:livereload-server' 'npm run test:watch' 'http-server -p 4200 .tmp/test' 'npm run print-start-message'",
"clean": "rimraf .tmp index.*",
"doc:build": "jsdoc -c jsdoc.json",
"doc:serve": "http-server -p 4201 ./docs",
"setup-paths": "mkdir -p .tmp/test",
"test": "npm run clean && npm run setup-paths && npm run test:node-deps && npm run mocha",
"test:watch": "rollup -w -c rollup-browser-tests.config.js",
"test:web-deps": "cp test/index.html node_modules/mocha/mocha.* node_modules/jquery/dist/jquery.slim.min.js .tmp/test/ && cp node_modules/expect.js/index.js .tmp/test/expect.js",
"test:livereload-server": "node scripts/livereload.js",
"test:node-deps": "rollup -c rollup-node-tests.config.js",
"mocha": "mocha -u tdd .tmp/test/node-tests.js",
"lint": "eslint --max-warnings 0 -c .eslintrc.json $(npm run lint:reporter-args 2>&1 >/dev/null) src/ test/",
"lint:reporter-args": "test -n \"${CI}\" && >&2 echo -o $CIRCLE_TEST_REPORTS/junit/eslint.xml -f junit",
"print-start-message": "wait-on file:.tmp/test/index.html file:.tmp/test/tests.js tcp:35729 tcp:4200 && echo \"\n\n⚡️⚡️⚡️ Good to go at http://localhost:4200 ⚡️⚡️⚡️\"",
"schema:fetch": "graphql-js-schema-fetch --url 'https://graphql.myshopify.com/api/2025-01/graphql.json' --header 'X-Shopify-Storefront-Access-Token: 595005d0c565f6969eece280de85edb5' | jq '.' > schema.json",
"minify-umd:optimized": "babel-minify index.umd.js > index.umd.min.js",
"minify-umd:unoptimized": "babel-minify index.unoptimized.umd.js > index.unoptimized.umd.min.js"
},
"author": "Shopify Inc.",
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.28.1",
"aws-sdk": "2.162.0",
"babel": "6.23.0",
"babel-core": "6.26.0",
"babel-minify": "0.5.1",
"babel-plugin-external-helpers": "6.22.0",
"babel-preset-env": "1.6.0",
"concurrently": "3.5.0",
"eslint": "^3.3.0",
"eslint-plugin-shopify": "14.0.0",
"eslint-test-generator": "1.0.5",
"expect.js": "0.3.1",
"fetch-mock": "5.12.2",
"fs-extra": "1.0.0",
"graphql-js-client": "0.12.0",
"graphql-js-schema": "0.7.1",
"graphql-js-schema-fetch": "1.1.2",
"http-server": "0.10.0",
"jquery": "3.2.1",
"jsdoc": "3.6.3",
"jsdoc-export-default-interop": "0.3.1",
"jsdoc-to-markdown": "5.0.1",
"mime-types": "2.1.17",
"minimist": "1.2.7",
"mocha": "3.5.0",
"node-fetch": "1.7.2",
"node-jq": "0.7.0",
"rimraf": "2.6.1",
"rollup": "0.47.6",
"rollup-plugin-babel": "3.0.2",
"rollup-plugin-commonjs": "8.1.0",
"rollup-plugin-graphql-js-client-compiler": "0.2.0",
"rollup-plugin-json": "2.3.0",
"rollup-plugin-multi-entry": "2.0.1",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-globals": "1.1.0",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-remap": "0.0.3",
"rollup-plugin-sizes": "0.4.0",
"rollup-pluginutils": "2.0.1",
"rollup-watch": "4.3.1",
"selenium-standalone": "5.5.0",
"tiny-lr": "1.0.5",
"wait-on": "2.0.2",
"whatwg-fetch": "2.0.3"
},
"livereloadPort": 35729
}