react-styles-injector
Version:
React component to inject scoped styles into the DOM. Client and server ready.
61 lines (60 loc) • 1.74 kB
JSON
{
"name": "react-styles-injector",
"version": "2.0.1",
"description": "React component to inject scoped styles into the DOM. Client and server ready.",
"main": "dist/index.umd.js",
"module": "dist/index.es5.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"keywords": [
"pcss",
"react",
"styles"
],
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"build:dev-watch": "rollup -w --config rollup.config.dev.js",
"build": "rimraf dist && tsc --module commonjs && rollup --config rollup.config.build.js",
"dev": "rimraf dist && concurrently \"npm run build:dev-watch\" --kill-others --restartTries 2 --restartDelay 200",
"release": "npm run build && release-it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fabien-h/react-styles-injector.git"
},
"author": "Fabien Huet <fabien.huet@gmail.com> (https://wax-o.com)",
"bugs": {
"url": "https://github.com/fabien-h/react-styles-injector/issues"
},
"homepage": "https://github.com/fabien-h/react-styles-injector#readme",
"directories": {
"test": "tests"
},
"license": "MIT",
"devDependencies": {
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"concurrently": "^6.0.1",
"release-it": "^14.5.1",
"rimraf": "^3.0.2",
"rollup": "^2.45.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"tsc": "^1.20150623.0",
"typescript": "^4.2.4"
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"publishConfig": {
"access": "public"
}
}