You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.1 KiB
81 lines
2.1 KiB
2 years ago
|
{
|
||
|
"name": "vite-plugin-imba",
|
||
|
"version": "0.10.1",
|
||
|
"license": "MIT",
|
||
|
"author": "Abdellah Alaoui",
|
||
|
"files": [
|
||
|
"dist",
|
||
|
"src",
|
||
|
"README.md",
|
||
|
"LICENSE",
|
||
|
"package.json"
|
||
|
],
|
||
|
"type": "module",
|
||
|
"main": "dist/index.cjs",
|
||
|
"module": "dist/index.mjs",
|
||
|
"types": "./index.d.ts",
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"import": "./dist/index.mjs",
|
||
|
"require": "./dist/index.cjs"
|
||
|
},
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"dev": "cross-env npx imba build -wM --keep --node.external +devDependencies --esm src/index.imba",
|
||
|
"rename": "node -e \"require('fs').rename('dist/index.js', 'dist/index.cjs', function(err) { if (err) console.log(err); console.log('File successfully renamed!') })\"",
|
||
|
"build": "cross-env rimraf dist && npm run build:esm && npm run build:cjs",
|
||
|
"build:esm": "npx imba build --keep -M --node.external +devDependencies --esm src/index.imba",
|
||
|
"build:cjs": "npx imba build --keep -M --node.external +devDependencies src/index.imba && npm run rename",
|
||
|
"test": "cross-env rimraf ../../temp && cd ../e2e-tests && npm run test:serve && npm run test:build"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": "^14.18.0 || >= 16"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/imba/imba.git",
|
||
|
"directory": "packages/vite-plugin-imba"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"vite-plugin",
|
||
|
"vite plugin",
|
||
|
"vite",
|
||
|
"imba"
|
||
|
],
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/imba/imba/issues"
|
||
|
},
|
||
|
"homepage": "https://imba.io",
|
||
|
"dependencies": {
|
||
|
"@rollup/pluginutils": "^4.2.1",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"debug": "^4.3.4",
|
||
|
"deepmerge": "^4.2.2",
|
||
|
"diff": "^5.1.0",
|
||
|
"kleur": "^4.1.5",
|
||
|
"magic-string": "^0.26.2"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"diff-match-patch": "^1.0.5",
|
||
|
"vite": "^3.0.0",
|
||
|
"imba": "*"
|
||
|
},
|
||
|
"peerDependenciesMeta": {
|
||
|
"diff-match-patch": {
|
||
|
"optional": true
|
||
|
}
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/debug": "^4.1.7",
|
||
|
"@types/diff-match-patch": "^1.0.32",
|
||
|
"colors": "^1.4.0",
|
||
|
"diff-match-patch": "^1.0.5",
|
||
|
"esbuild": "^0.15.5",
|
||
|
"rimraf": "^3.0.2",
|
||
|
"rollup": "^2.78.1",
|
||
|
"vite": "^3.0.9",
|
||
|
"imba": "../imba"
|
||
|
}
|
||
|
}
|