forked from Shopify/graphql-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.72 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": "graphql-js-client",
"version": "0.11.0",
"description": "Feature light client library for fetching resources via GraphQL",
"main": "index.js",
"module": "index.es.js",
"jsnext:main": "index.es.js",
"license": "MIT",
"author": "Shopify Inc.",
"publishConfig": {
"access": "public",
"@shopify:registry": "https://registry.npmjs.org/"
},
"dependencies": {},
"devDependencies": {
"babel": "6.5.2",
"babel-cli": "6.22.2",
"babel-core": "6.22.1",
"babel-plugin-external-helpers": "6.22.0",
"babel-preset-es2015-rollup": "3.0.0",
"babel-preset-shopify": "15.0.1",
"concurrently": "3.1.0",
"cross-env": "3.1.4",
"eslint": "3.14.1",
"eslint-plugin-shopify": "14.0.0",
"eslint-test-generator": "1.0.5",
"expect.js": "0.3.1",
"fb-watchman": "2.0.0",
"fetch-mock": "5.9.3",
"graphql-js-schema": "0.3.0",
"http-server": "0.9.0",
"jquery": "3.1.1",
"jsdoc": "3.5.5",
"jsdoc-export-default-interop": "0.3.1",
"klaw-sync": "1.1.0",
"minimist": "1.2.0",
"mocha": "3.2.0",
"node-fetch": "1.6.3",
"node-jq": "0.5.0",
"rimraf": "2.5.4",
"rollup": "0.41.4",
"rollup-plugin-babel": "2.7.1",
"rollup-plugin-commonjs": "7.0.0",
"rollup-plugin-json": "2.1.0",
"rollup-plugin-multi-entry": "2.0.1",
"rollup-plugin-node-builtins": "2.0.0",
"rollup-plugin-node-globals": "1.1.0",
"rollup-plugin-node-resolve": "2.0.0",
"rollup-plugin-remap": "0.0.3",
"rollup-pluginutils": "2.0.1",
"tiny-lr": "1.0.3",
"wait-on": "2.0.1"
},
"scripts": {
"prepublish": "concurrently 'yarn run build:prod' 'yarn run build:dev'",
"build:dev": "rollup -c --environment BABEL_ENV:node",
"build:prod": "rollup -c --environment BABEL_ENV:node,BUILD_MODE:production",
"start": "yarn run clean && yarn run setup-paths && concurrently 'yarn run test:web-deps' 'yarn run test:livereload-server' 'yarn run test:watch' 'http-server -p 4200 .tmp/test' 'yarn run -s print-start-message'",
"clean": "rimraf .tmp dist fixtures/types.js",
"doc:build": "jsdoc src/ README.md -d docs/ -c jsdoc.json",
"setup-paths": "mkdir -p dist .tmp/test",
"test": "yarn run clean && yarn run setup-paths && yarn run test:node-deps && yarn run mocha",
"test:watch": "cross-env BABEL_ENV='browser' node -- scripts/test-build-watch.js --with-dependency-tracking .tmp/test/tests.js",
"test:web-deps": "concurrently 'yarn run test:copy-web-deps' 'yarn run types-fixture:build'",
"test:node-deps": "yarn run types-fixture:build && cross-env BABEL_ENV='node' node -- scripts/test-build-node.js --with-dependency-tracking .tmp/test/node-tests.js",
"test:copy-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",
"mocha": "mocha -u tdd .tmp/test/node-tests.js",
"print-start-message": "wait-on file:.tmp/test/index.html file:.tmp/test/tests.js tcp:35729 tcp:4200 file:fixtures/types.js && echo \"\n\n⚡️⚡️⚡️ Good to go at http://localhost:4200 ⚡️⚡️⚡️\"",
"types-fixture:build": "rimraf fixtures/types.js && yarn run types-fixture:transform-graphql-schema",
"types-fixture:transform-graphql-schema": "graphql-js-schema --schema-file schema.json --outdir fixtures --schema-bundle-name 'Types' --bundle-only"
},
"livereloadPort": 35729,
"keywords": [
"graphql,api,client"
],
"repository": {
"type": "git",
"url": "git://github.com/Shopify/graphql-js-client.git"
},
"homepage": "https://github.com/Shopify/graphql-js-client",
"bugs": {
"url": "https://github.com/Shopify/graphql-js-client/issues"
}
}