51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "simple-code-frame",
|
|
"version": "1.3.0",
|
|
"description": "A tiny utility to create code frames",
|
|
"main": "dist/cjs/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/types/index.d.ts",
|
|
"source": "src/index.ts",
|
|
"scripts": {
|
|
"test": "TS_NODE_LOG_ERROR=true mocha -r ts-node/register --extension ts,tsx 'tests/**/*.test.ts'",
|
|
"build": "rimraf dist/ && tsc && tsc -p tsconfig.esm.json && cp dist/esm/index.js dist/esm/index.mjs && check-export-map",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"author": "Marvin Hagemeister <hello@marvinh.dev>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/marvinhagemeister/simple-code-frame.git"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.4.1",
|
|
"@changesets/cli": "^2.17.0",
|
|
"@types/mocha": "^8.2.2",
|
|
"@types/node": "^14.14.37",
|
|
"check-export-map": "^1.3.0",
|
|
"mocha": "^8.3.2",
|
|
"rimraf": "^3.0.2",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.2.3"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/esm/index.mjs",
|
|
"require": "./dist/cjs/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist/"
|
|
],
|
|
"prettier": {
|
|
"useTabs": true,
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"dependencies": {
|
|
"kolorist": "^1.6.0"
|
|
}
|
|
}
|