ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/magic-string/package.json

65 lines
1.9 KiB
JSON
Raw Permalink Normal View History

2023-07-24 03:13:08 +00:00
{
"name": "magic-string",
2023-09-06 01:51:55 +00:00
"version": "0.30.3",
2023-07-24 03:13:08 +00:00
"description": "Modify strings, generate sourcemaps",
"keywords": [
"string",
"string manipulation",
"sourcemap",
"templating",
"transpilation"
],
"repository": "https://github.com/rich-harris/magic-string",
"license": "MIT",
"author": "Rich Harris",
2023-09-06 01:51:55 +00:00
"main": "./dist/magic-string.cjs.js",
"module": "./dist/magic-string.es.mjs",
"jsnext:main": "./dist/magic-string.es.mjs",
"types": "./dist/magic-string.cjs.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/magic-string.es.mjs",
"require": "./dist/magic-string.cjs.js"
}
},
2023-07-24 03:13:08 +00:00
"files": [
"dist/*",
"index.d.ts",
"README.md"
],
"scripts": {
2023-09-06 01:51:55 +00:00
"build": "rollup -c && cp ./src/index.d.ts ./dist/magic-string.es.d.mts && cp ./src/index.d.ts ./dist/magic-string.cjs.d.ts",
2023-07-24 03:13:08 +00:00
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"format": "prettier --single-quote --print-width 100 --use-tabs --write src/*.js src/**/*.js",
2023-09-06 01:51:55 +00:00
"lint": "eslint src test && publint",
2023-07-24 03:13:08 +00:00
"prepare": "npm run build",
2023-09-06 01:51:55 +00:00
"prepublishOnly": "npm run lint && rm -rf dist && npm test",
2023-07-24 03:13:08 +00:00
"release": "bumpp -x \"npm run changelog\" --all --commit --tag --push && npm publish",
2023-09-06 01:51:55 +00:00
"pretest": "npm run build",
2023-07-24 03:13:08 +00:00
"test": "mocha",
2023-09-06 01:51:55 +00:00
"bench": "npm run build && node benchmark/index.mjs",
2023-07-24 03:13:08 +00:00
"watch": "rollup -cw"
},
"devDependencies": {
2023-09-06 01:51:55 +00:00
"@rollup/plugin-node-resolve": "^15.2.0",
"@rollup/plugin-replace": "^5.0.2",
"benchmark": "^2.1.4",
"bumpp": "^9.2.0",
"conventional-changelog-cli": "^3.0.0",
"eslint": "^8.47.0",
"mocha": "^10.2.0",
"prettier": "^3.0.2",
"publint": "^0.2.1",
"rollup": "^3.28.0",
"source-map-js": "^1.0.2",
2023-07-24 03:13:08 +00:00
"source-map-support": "^0.5.21"
2023-09-06 01:51:55 +00:00
},
"engines": {
"node": ">=12"
},
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.4.15"
2023-07-24 03:13:08 +00:00
}
}