-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.33 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "@russmedia/theme-builder-plugin",
"version": "0.3.0",
"description": "Register global imports on demand for Vite and Webpack",
"keywords": [
"unplugin",
"vite",
"webpack",
"rollup",
"transform"
],
"homepage": "https://github.com/russmediadigital/theme-builder-plugin#readme",
"bugs": {
"url": "https://github.com/russmediadigital/theme-builder-plugin/issues"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/russmediadigital/theme-builder-plugin.git"
},
"license": "MIT",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./rollup": {
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./nuxt": {
"require": "./dist/nuxt.js",
"import": "./dist/nuxt.mjs"
},
"./types": {
"require": "./dist/types.js",
"import": "./dist/types.mjs"
},
"./*": "./*"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"build": "rimraf dist && tsup 'src/*.ts' --format cjs,esm --dts && esno scripts/postbuild.ts",
"dev": "tsup 'src/*.ts' --watch src",
"lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"play": "npm -C playground run dev",
"prepublishOnly": "npm run build",
"release": "bumpp --commit --push --tag && pnpm publish",
"start": "esno src/index.ts",
"test": "jest",
"test:update": "jest -u"
},
"dependencies": {
"@russmedia/theme-resolver": "^1.0.0",
"unplugin": "^0.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.7.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.1",
"bumpp": "^6.0.6",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.4.0",
"esno": "^0.9.1",
"fast-glob": "^3.2.7",
"jest": "^27.0.6",
"nodemon": "^2.0.12",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"ts-jest": "^27.0.5",
"tsup": "^4.14.0",
"typescript": "^4.3.5",
"vite": "^2.5.0",
"webpack": "^4.0.0"
}
}