1 | {
|
2 | "name": "magic-string",
|
3 | "version": "0.26.7",
|
4 | "description": "Modify strings, generate sourcemaps",
|
5 | "keywords": [
|
6 | "string",
|
7 | "string manipulation",
|
8 | "sourcemap",
|
9 | "templating",
|
10 | "transpilation"
|
11 | ],
|
12 | "repository": "https://github.com/rich-harris/magic-string",
|
13 | "license": "MIT",
|
14 | "author": "Rich Harris",
|
15 | "main": "./dist/magic-string.cjs.js",
|
16 | "module": "./dist/magic-string.es.mjs",
|
17 | "jsnext:main": "./dist/magic-string.es.mjs",
|
18 | "types": "./index.d.ts",
|
19 | "exports": {
|
20 | "./package.json": "./package.json",
|
21 | ".": {
|
22 | "import": "./dist/magic-string.es.mjs",
|
23 | "require": "./dist/magic-string.cjs.js",
|
24 | "types": "./index.d.ts"
|
25 | }
|
26 | },
|
27 | "files": [
|
28 | "dist/*",
|
29 | "index.d.ts",
|
30 | "README.md"
|
31 | ],
|
32 | "scripts": {
|
33 | "build": "rollup -c",
|
34 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
35 | "format": "prettier --single-quote --print-width 100 --use-tabs --write src/*.js src/**/*.js",
|
36 | "lint": "eslint src test",
|
37 | "prepare": "npm run build",
|
38 | "prepublishOnly": "rm -rf dist && npm test",
|
39 | "release": "bumpp -x \"npm run changelog\" --all --commit --tag --push && npm publish",
|
40 | "pretest": "npm run lint && npm run build",
|
41 | "test": "mocha",
|
42 | "bench": "npm run build && node benchmark/index.mjs",
|
43 | "watch": "rollup -cw"
|
44 | },
|
45 | "dependencies": {
|
46 | "sourcemap-codec": "^1.4.8"
|
47 | },
|
48 | "devDependencies": {
|
49 | "@rollup/plugin-node-resolve": "^14.1.0",
|
50 | "@rollup/plugin-replace": "^4.0.0",
|
51 | "benchmark": "^2.1.4",
|
52 | "bumpp": "^8.2.1",
|
53 | "conventional-changelog-cli": "^2.2.2",
|
54 | "eslint": "^8.23.1",
|
55 | "mocha": "^10.0.0",
|
56 | "prettier": "^2.7.1",
|
57 | "rollup": "^2.79.1",
|
58 | "source-map-js": "^1.0.2",
|
59 | "source-map-support": "^0.5.21"
|
60 | },
|
61 | "engines": {
|
62 | "node": ">=12"
|
63 | }
|
64 | }
|