-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
62 lines (62 loc) · 1.66 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
{
"name": "rollup-plugin-critical",
"type": "module",
"version": "1.0.14",
"description": "Rollup plugin to generate critical CSS.",
"author": "nystudio107",
"license": "MIT",
"keywords": [
"rollup",
"plugin",
"critical",
"css"
],
"homepage": "https://github.com/nystudio107/rollup-plugin-critical",
"repository": {
"type": "git",
"url": "git+ssh://github.com/nystudio107/rollup-plugin-critical"
},
"bugs": {
"url": "https://github.com/nystudio107/rollup-plugin-critical/issues"
},
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup src/index.ts --clean --minify --sourcemap --dts --format cjs,esm",
"check": "tsc -p config/base.json --noEmit",
"dev": "nr build --watch",
"lint": "tsc --noEmit && eslint './src/**/*.{js,ts,vue}' --fix",
"prepublishOnly": "nr build",
"release": "npm login && npm publish",
"test": "vitest run --coverage",
"test-coverage": "vitest run --coverage",
"test-ci": "vitest run --coverage.enabled --coverage.reporter='text-summary'",
"test-dev": "vitest"
},
"dependencies": {
"critical": "^7.0.0"
},
"devDependencies": {
"@antfu/ni": "^0.23.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@vitest/coverage-v8": "^2.0.0",
"eslint": "^8.0.0",
"rollup": "^4.0.0",
"tsup": "^8.0.0",
"typescript": "latest",
"vite": "^5.0.0",
"vitest": "^2.0.0"
}
}