You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
835 B
JSON
31 lines
835 B
JSON
{
|
|
"name": "@haina/npm",
|
|
"version": "0.1.0",
|
|
"main": "build/esm/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./build/esm/index.js",
|
|
"require": "./build/cjs/index.js"
|
|
},
|
|
"./esm/*": "./build/esm/*",
|
|
"./cjs/*": "./build/cjs/*"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf build",
|
|
"build:cjs": "babel src --out-dir build/cjs --plugins=@babel/plugin-transform-modules-commonjs",
|
|
"build:esm": "babel src --out-dir build/esm",
|
|
"build": "npm run clean && npm run build:cjs && npm run build:esm",
|
|
"pack": "npm run build && npm pack --pack-destination ./dist",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.28.3",
|
|
"@babel/core": "^7.28.5",
|
|
"@babel/preset-env": "^7.28.5",
|
|
"rimraf": "^6.1.2"
|
|
}
|
|
}
|