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.

37 lines
1.1 KiB
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",
"generate-indexes": "node scripts/generate-indexes.js",
"build:cjs": "npm run generate-indexes && babel src --out-dir build/cjs --plugins=@babel/plugin-transform-modules-commonjs",
"build:esm": "npm run generate-indexes && babel src --out-dir build/esm",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"pack": "npm run build && node scripts/pack-modules.js",
"pack:all": "npm run build && npm pack --pack-destination ./dist && node scripts/pack-modules.js",
"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"
4 months ago
},
"repository": {
"type": "git",
"url": "git+https://github.com/hainatravel-it/hai-npm.git"
}
}