-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
96 lines (96 loc) · 3.32 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
86
87
88
89
90
91
92
93
94
95
96
{
"name": "graphql-css",
"version": "2.0.0",
"description": "A blazing fast and battle-tested CSS-in-GQL™ library.",
"main": "./lib/index.js",
"module": "es/index.js",
"scripts": {
"build": "yarn run build:commonjs && yarn run build:es && npm run build:umd && npm run build:umd:min",
"build:es": "babel src -d es --ignore '**/*.test.js'",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib --ignore '**/*.test.js'",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js --output dist/graphql-css.js --mode development",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js --output dist/graphql-css.min.js --mode production",
"clean": "rimraf lib dist es coverage",
"dev": "yarn run clean && cross-env BABEL_ENV=commonjs babel src -d lib --watch",
"format": "prettier --write \"**/*.{js,md,ts,json}\" *.{js,md,ts,json}",
"lint": "eslint src/ --ext .js,.jsx",
"precommit": "lint-staged",
"prepack": "yarn run clean && yarn run test && yarn run build",
"test": "jest --no-cache",
"test:watch": "jest --watchAll --coverage",
"ci": "scripts/ci.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/braposo/graphql-css.git"
},
"bugs": {
"url": "https://github.com/braposo/graphql-css/issues"
},
"homepage": "https://github.com/braposo/graphql-css#readme",
"files": [
"es",
"dist",
"lib",
"src"
],
"keywords": [
"graphql",
"css",
"styles",
"processor",
"css-in-gql"
],
"authors": [
"Bernardo Raposo <hi@bernardoraposo.com> (https://github.com/braposo)",
"David Gomes <davidrafagomes@gmail.com> (https://github.com/davidgomes)"
],
"license": "MIT",
"dependencies": {
"cxs": "6.2.0",
"graphql-anywhere": "^4.1.24",
"graphql-tag": "2.10.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"codecov": "^3.1.0",
"cross-env": "^5.2.0",
"eslint": "^5.11.1",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.0",
"graphql": "^14.0.2",
"husky": "^1.3.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3",
"prop-types": "^15.6.2",
"react": "16.7.0-alpha.2",
"react-dom": "16.7.0-alpha.2",
"react-testing-library": "^5.4.2",
"rimraf": "^2.6.2",
"webpack": "^4.28.2",
"webpack-cli": "^3.1.2"
},
"peerDependencies": {
"graphql": "^14.0.2",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"lint-staged": {
"*.{js,md,ts,json}": [
"prettier --write",
"git add"
]
}
}