-
Notifications
You must be signed in to change notification settings - Fork 263
/
package.json
85 lines (85 loc) · 4.03 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
{
"name": "shopify-buy",
"version": "2.22.0",
"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": "[email protected]:Shopify/js-buy-sdk.git",
"publishConfig": {
"access": "public",
"@shopify:registry": "https://registry.npmjs.org/"
},
"scripts": {
"prepublish": "yarn run build",
"build": "yarn run build:optimized && yarn run build:unoptimized",
"build:optimized": "rollup -c && yarn run minify-umd:optimized",
"build:unoptimized": "rollup -c rollup-unoptimized.config.js && yarn run minify-umd:unoptimized",
"start": "yarn run clean && yarn run setup-paths && concurrently --names DEPS,LIVERELOAD,ROLLUP,HTTP,NOTIFIER 'yarn run test:web-deps' 'yarn run test:livereload-server' 'yarn run test:watch' 'http-server -p 4200 .tmp/test' 'yarn 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": "yarn run clean && yarn run setup-paths && yarn run test:node-deps && yarn 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 $(yarn 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/2024-04/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",
"dependencies": {},
"devDependencies": {
"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.8.1",
"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
}