123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- {
- "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"
- }
- }
|