59 lines
1.8 KiB
JSON
59 lines
1.8 KiB
JSON
{
|
|
"name": "vite-plugin-css-injected-by-js",
|
|
"version": "3.5.2",
|
|
"description": "A Vite plugin that takes the CSS and adds it to the page through the JS. For those who want a single JS file.",
|
|
"main": "dist/cjs/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/esm/declarations/index.d.ts",
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js"
|
|
}
|
|
},
|
|
"typings": "dist/esm/declarations/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"test": "vitest",
|
|
"coverage": "rimraf coverage && vitest run --coverage",
|
|
"ci-test": "vitest run",
|
|
"build": "rimraf dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./cjs-esm-fixup",
|
|
"format": "prettier '{src,test}/*.ts' --write"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/marco-prontera/vite-plugin-css-injected-by-js.git"
|
|
},
|
|
"keywords": [
|
|
"vite",
|
|
"vite-plugin",
|
|
"plugin",
|
|
"typescript",
|
|
"css-injected-by-js",
|
|
"single-js-file",
|
|
"css",
|
|
"js"
|
|
],
|
|
"peerDependencies": {
|
|
"vite": ">2.0.0-0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.15",
|
|
"@vitest/coverage-istanbul": "^0.34.6",
|
|
"happy-dom": "^8.1.3",
|
|
"prettier": "^2.8.1",
|
|
"rimraf": "^5.0.5",
|
|
"typescript": "^4.9.4",
|
|
"vite": "^4.5.0",
|
|
"vitest": "^0.34.6"
|
|
},
|
|
"author": "Marco Prontera",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/marco-prontera/vite-plugin-css-injected-by-js/issues"
|
|
},
|
|
"homepage": "https://github.com/marco-prontera/vite-plugin-css-injected-by-js#readme"
|
|
}
|