react-style-tag
Version:
Write scoped, autoprefixed styles declaratively in React
88 lines (87 loc) • 2.93 kB
JSON
{
"author": "planttheidea",
"browser": "dist/react-style-tag.js",
"bugs": {
"url": "https://github.com/planttheidea/react-style-tag/issues"
},
"dependencies": {
"stylis": "^4.1.1"
},
"description": "Write scoped, autoprefixed styles declaratively in React",
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.2.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/eslint": "^8.4.1",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/stylis": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"babel-jest": "^29.0.2",
"babel-loader": "^8.2.5",
"blob-polyfill": "^7.0.20220408",
"core-js": "^3.25.0",
"eslint": "^8.23.0",
"eslint-plugin-react": "^7.31.4",
"eslint-webpack-plugin": "^3.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.79.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.8.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.1"
},
"homepage": "https://github.com/planttheidea/react-style-tag#readme",
"keywords": [
"react",
"style",
"css",
"css-modules",
"postcss"
],
"license": "MIT",
"main": "dist/react-style-tag.cjs.js",
"module": "dist/react-style-tag.esm.js",
"name": "react-style-tag",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/planttheidea/react-style-tag.git"
},
"scripts": {
"build": "NODE_ENV=production rollup -c",
"clean": "npm run clean:lib && npm run clean:es && npm run clean:dist",
"clean:dist": "rimraf dist",
"clean:lib": "rimraf lib",
"clean:es": "rimraf es",
"dev": "NODE_ENV=development webpack-dev-server",
"dist": "npm run clean:dist && npm run build",
"lint": "NODE_ENV=test eslint src",
"lint:fix": "NODE_ENV=test eslint src --fix",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run clean && npm run transpile:lib && npm run transpile:es && npm run dist",
"start": "npm run dev",
"test": "NODE_ENV=test NODE_PATH=. jest",
"test:coverage": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"transpile:lib": "npm run clean:lib && BABEL_ENV=lib babel src --out-dir lib",
"transpile:es": "npm run clean:es && BABEL_ENV=es babel src --out-dir es",
"typecheck": "tsc --noEmit"
},
"version": "3.0.1"
}