forked from cristianbote/goober
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 4.71 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "goober",
"version": "2.0.37",
"description": "A less than 1KB css-in-js solution",
"sideEffects": false,
"main": "dist/goober.js",
"module": "dist/goober.esm.js",
"umd:main": "dist/goober.umd.js",
"source": "src/index.js",
"unpkg": "dist/goober.umd.js",
"types": "goober.d.ts",
"files": [
"src",
"macro",
"global/dist",
"global/src",
"global/package.json",
"global/global.d.ts",
"prefixer/dist",
"prefixer/src",
"prefixer/package.json",
"prefixer/autoprefixer.d.ts",
"prefixer/README.md",
"should-forward-prop/dist",
"should-forward-prop/src",
"should-forward-prop/package.json",
"should-forward-prop/should-forward-prop.d.ts",
"should-forward-prop/README.md",
"README.md",
"dist",
"package.json",
"typings.json",
"goober.d.ts"
],
"exports": {
".": {
"require": "./dist/goober.js",
"browser": "./dist/goober.modern.js",
"import": "./dist/goober.esm.js",
"umd": "./dist/goober.umd.js"
},
"./macro": "./macro/index.js",
"./global": {
"browser": "./global/dist/goober-global.modern.js",
"import": "./global/dist/goober-global.esm.js",
"require": "./global/dist/goober-global.js",
"umd": "./global/dist/goober-global.umd.js"
},
"./prefixer": {
"browser": "./prefixer/dist/goober-autoprefixer.modern.js",
"import": "./prefixer/dist/goober-autoprefixer.esm.js",
"require": "./prefixer/dist/goober-autoprefixer.js",
"umd": "./prefixer/dist/goober-autoprefixer.umd.js"
},
"./should-forward-prop": {
"browser": "./should-forward-prop/dist/goober-should-forward-prop.modern.js",
"import": "./should-forward-prop/dist/goober-should-forward-prop.esm.js",
"require": "./should-forward-prop/dist/goober-should-forward-prop.js",
"umd": "./should-forward-prop/dist/goober-should-forward-prop.umd.js"
}
},
"scripts": {
"test": "npm run test-ts && npm run test-unit -- --ci --coverage && npm run build && npm run test-perf",
"test-perf": "NODE_ENV=production node benchmarks/perf.js",
"test-perf-hash": "NODE_ENV=production node benchmarks/perf-hash.js",
"test-unit": "jest --setupFiles ./tests/setup.js --roots ./src packages && npm run test-addon-global && npm run test-addon-prefixer",
"test-addon-global": "cd global && npm run test",
"test-addon-prefixer": "cd prefixer && npm run test",
"test-ts": "tsc -p ts-tests",
"clean": "rimraf dist",
"size-check": "filesize",
"build": "npm run build:core && npm run build:prefixer && npm run build:global && npm run build:should-forward-prop",
"build:prefixer": "cd ./prefixer && npm run build",
"build:global": "cd ./global && npm run build",
"build:should-forward-prop": "cd ./should-forward-prop && npm run build",
"build:core": "npm run clean && npm run build:dist && npm run size-check",
"build:lib": "microbundle --entry src/index.js --name goober --no-sourcemap",
"build:dist": "npm run build:lib -- --output dist",
"build:debug": "npm run build:lib -- --output debug --no-compress",
"dev": "npm run clean && microbundle watch --entry src/index.js --output dist --name goober",
"deploy": "npm run build && npm publish",
"format": "prettier \"**/*.{js,ts,tsx,md}\" --write"
},
"keywords": [
"css-in-js",
"goober",
"styled",
"emotion",
"styled-components",
"javascript",
"react",
"preact"
],
"author": "Cristian <botecristian@yahoo.com>",
"repository": {
"type": "git",
"url": "https://github.com/cristianbote/goober"
},
"license": "ISC",
"devDependencies": {
"@ampproject/filesize": "^4.0.0",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-react-jsx": "^7.7.0",
"@babel/preset-env": "^7.3.1",
"@emotion/core": "^11.0.0",
"@emotion/styled": "^11.0.0",
"@emotion/react": "^11.1.4",
"@types/react": "^16.9.34",
"babel-jest": "^24.1.0",
"benchmark": "^2.1.4",
"csstype": "^2.6.3",
"husky": "4.2.4",
"jest": "^24.1.0",
"lint-staged": "10.2.0",
"microbundle": "^0.12.0",
"preact": "^10.0.0",
"prettier": "2.0.5",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rimraf": "3.0.2",
"styled-components": "^5.2.1",
"typescript": "^3.6.3"
},
"peerDependencies": {
"csstype": "^2.6.2"
},
"typings": "./goober.d.ts",
"filesize": {
"./dist/goober.modern.js": {
"gzip": "1200B"
},
"./dist/goober.js": {
"gzip": "1200B"
}
},
"lint-staged": {
"*.{js,ts,tsx,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/goober"
}
}