@modern-js/module-tools
Version:
Simple, powerful, high-performance modern npm package development solution.
112 lines • 2.91 kB
JSON
{
"name": "@modern-js/module-tools",
"version": "2.68.10",
"description": "Simple, powerful, high-performance modern npm package development solution.",
"keywords": [
"modern",
"modern.js",
"module-tools",
"lib-tools"
],
"homepage": "https://modernjs.dev/module-tools",
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/modern.js",
"directory": "packages/solutions/module-tools"
},
"license": "MIT",
"exports": {
".": {
"jsnext:source": "./src/index.ts",
"default": "./dist/index.js"
},
"./defineConfig": {
"jsnext:source": "./src/config/defineConfig.ts",
"default": "./dist/config/defineConfig.js"
},
"./utils": {
"jsnext:source": "./src/utils/index.ts",
"default": "./dist/utils/assert.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"types": [
"./lib/types.d.ts"
],
"type": [
"./lib/types.d.ts"
],
"defineConfig": [
"./dist/config/defineConfig.d.ts"
]
}
},
"bin": {
"modern": "./bin/modern.js",
"modern-module": "./bin/modern.js"
},
"dependencies": {
"@ampproject/remapping": "^2.3.0",
"@ast-grep/napi": "0.35.0",
"@babel/core": "^7.26.0",
"@babel/types": "^7.26.0",
"@modern-js/swc-plugins": "0.6.11",
"@rollup/pluginutils": "4.2.1",
"@swc/helpers": "^0.5.17",
"convert-source-map": "1.9.0",
"enhanced-resolve": "5.17.1",
"esbuild": "0.19.2",
"magic-string": "0.30.17",
"postcss": "^8.5.6",
"postcss-modules": "4.3.1",
"safe-identifier": "0.4.2",
"source-map": "0.7.4",
"style-inject": "0.3.0",
"sucrase": "3.29.0",
"tapable": "2.2.1",
"terser": "^5.31.1",
"tsconfig-paths-webpack-plugin": "4.1.0",
"@modern-js/core": "2.68.10",
"@modern-js/plugin": "2.68.10",
"@modern-js/plugin-changeset": "2.68.10",
"@modern-js/plugin-i18n": "2.68.10",
"@modern-js/types": "2.68.10",
"@modern-js/utils": "2.68.10"
},
"devDependencies": {
"@rsbuild/core": "1.4.15",
"@types/convert-source-map": "1.5.2",
"@types/node": "^18",
"typescript": "^5",
"@modern-js/self": "npm:@modern-js/module-tools@2.68.10",
"@scripts/build": "2.66.0",
"@scripts/vitest-config": "2.66.0"
},
"peerDependencies": {
"typescript": "^4 || ^5"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "modern-lib build",
"dev": "modern-lib build --watch",
"new": "modern-lib new",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest dev"
}
}