|
1 | 1 | {
|
2 | 2 | "name": "graphql-playground",
|
3 |
| - "version": "1.3.7-alpha.2", |
| 3 | + "version": "1.3.7", |
4 | 4 | "main": "./lib/lib.js",
|
5 | 5 | "typings": "./lib/lib.d.ts",
|
6 |
| - "description": |
7 |
| - "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", |
| 6 | + "description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", |
8 | 7 | "contributors": [
|
9 | 8 | "Tim Suchanek <[email protected]>",
|
10 | 9 | "Johannes Schickling <[email protected]>"
|
|
18 | 17 | "start": "node scripts/start.js",
|
19 | 18 | "prepublishOnly": "yarn build",
|
20 | 19 | "copy-styles": "cat src/styles/*.css > playground.css",
|
21 |
| - "build": |
22 |
| - "rimraf dist build dist && yarn build-app && yarn build-package && yarn copy-styles", |
| 20 | + "build": "rimraf dist build dist && yarn build-app && yarn build-package && yarn copy-styles", |
23 | 21 | "tsc": "tsc -p tsconfig.build.json",
|
24 |
| - "build-package": |
25 |
| - "rimraf lib build/dist && npm run tsc && babel lib -d lib && cp -r ./src/assets/ ./lib/assets/ && cd lib && rimraf *.jsx;", |
| 22 | + "build-package": "rimraf lib build/dist && npm run tsc && babel lib -d lib && cp -r ./src/assets/ ./lib/assets/ && cd lib && rimraf *.jsx;", |
26 | 23 | "build-app": "node scripts/build.js",
|
27 | 24 | "test": "node scripts/test.js --env=jsdom",
|
28 | 25 | "bump": "npm version patch --no-git-tag-version && git add package.json",
|
29 | 26 | "graphql-faker": "graphql-faker ./tests/schema.faker.graphql",
|
30 | 27 | "lint": "tslint \"src/**/*.ts{,x}\"",
|
31 | 28 | "precommit": "lint-staged",
|
32 |
| - "prettier": |
33 |
| - "prettier --single-quote --no-semi --trailing-comma all --write *.{ts,tsx} 'src/**/*.{ts,tsx}'" |
| 29 | + "prettier": "prettier --single-quote --no-semi --trailing-comma all --write *.{ts,tsx} 'src/**/*.{ts,tsx}'" |
34 | 30 | },
|
35 |
| - "files": ["build", "lib", "playground.css"], |
| 31 | + "files": [ |
| 32 | + "build", |
| 33 | + "lib", |
| 34 | + "playground.css" |
| 35 | + ], |
36 | 36 | "devDependencies": {
|
37 | 37 | "@types/deasync": "^0.1.0",
|
38 | 38 | "@types/express": "^4.0.36",
|
|
75 | 75 | "postcss-cssnext": "^2.9.0",
|
76 | 76 | "postcss-flexbugs-fixes": "^3.2.0",
|
77 | 77 | "postcss-import": "^9.1.0",
|
78 |
| - "postcss-inherit": |
79 |
| - "git+https://github.com/timsuchanek/postcss-inherit#build3", |
| 78 | + "postcss-inherit": "git+https://github.com/timsuchanek/postcss-inherit#build3", |
80 | 79 | "postcss-inject": "^1.0.1",
|
81 | 80 | "postcss-loader": "1.0.0",
|
82 | 81 | "postcss-nested": "^1.0.0",
|
|
106 | 105 | "why-did-you-update": "^0.0.8"
|
107 | 106 | },
|
108 | 107 | "babel": {
|
109 |
| - "plugins": ["styled-jsx-postcss/babel"] |
| 108 | + "plugins": [ |
| 109 | + "styled-jsx-postcss/babel" |
| 110 | + ] |
110 | 111 | },
|
111 | 112 | "dependencies": {
|
112 | 113 | "calculate-size": "^1.1.1",
|
|
119 | 120 | "graphql": "^0.10.5",
|
120 | 121 | "isomorphic-fetch": "^2.2.1",
|
121 | 122 | "js-yaml": "^3.10.0",
|
122 |
| - "polished": "^1.9.0", |
123 | 123 | "json-stable-stringify": "^1.0.1",
|
124 | 124 | "keycode": "^2.1.9",
|
125 | 125 | "lodash": "^4.17.4",
|
126 | 126 | "lodash.debounce": "^4.0.8",
|
| 127 | + "polished": "^1.9.0", |
127 | 128 | "postcss-modules": "^0.6.4",
|
128 | 129 | "react": "^16.0.0",
|
129 | 130 | "react-addons-shallow-compare": "^15.6.0",
|
|
142 | 143 | "rxjs": "^5.0.3",
|
143 | 144 | "seamless-immutable": "^7.0.1",
|
144 | 145 | "styled-components": "^2.2.3",
|
145 |
| - "styled-jsx-postcss": |
146 |
| - "git+https://github.com/timsuchanek/styled-jsx-postcss#build3", |
| 146 | + "styled-jsx-postcss": "git+https://github.com/timsuchanek/styled-jsx-postcss#build3", |
147 | 147 | "styled-theming": "^2.2.0",
|
148 | 148 | "subscriptions-transport-ws": "^0.8.1"
|
149 | 149 | },
|
|
156 | 156 | "gitDir": "../../"
|
157 | 157 | },
|
158 | 158 | "jest": {
|
159 |
| - "collectCoverageFrom": ["src/**/*.{ts,tsx}"], |
160 |
| - "setupFiles": ["<rootDir>/config/polyfills.js"], |
| 159 | + "collectCoverageFrom": [ |
| 160 | + "src/**/*.{ts,tsx}" |
| 161 | + ], |
| 162 | + "setupFiles": [ |
| 163 | + "<rootDir>/config/polyfills.js" |
| 164 | + ], |
161 | 165 | "testPathIgnorePatterns": [
|
162 | 166 | "<rootDir>[/\\\\](build|docs|node_modules)[/\\\\]"
|
163 | 167 | ],
|
|
168 | 172 | "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js",
|
169 | 173 | "^(?!.*\\.(css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
170 | 174 | },
|
171 |
| - "transformIgnorePatterns": ["[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"], |
| 175 | + "transformIgnorePatterns": [ |
| 176 | + "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$" |
| 177 | + ], |
172 | 178 | "moduleNameMapper": {
|
173 | 179 | "^react-native$": "react-native-web"
|
174 | 180 | },
|
175 |
| - "moduleFileExtensions": ["ts", "tsx", "js"], |
| 181 | + "moduleFileExtensions": [ |
| 182 | + "ts", |
| 183 | + "tsx", |
| 184 | + "js" |
| 185 | + ], |
176 | 186 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$"
|
177 | 187 | }
|
178 | 188 | }
|
0 commit comments