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