utils/package.json

79 lines
2.2 KiB
JSON
Raw Permalink Normal View History

2020-11-17 11:16:34 +00:00
{
"name": "@rakh/utils",
"version": "2.0.22",
2020-11-17 11:16:34 +00:00
"main": "dist/commonjs/index.js",
"types": "dist/commonjs/index.d.ts",
2020-11-17 11:16:34 +00:00
"module": "dist/es/index.js",
"jsnext:main": "dist/es/index.js",
"files": [
"dist/**/*",
"docs/**/*",
"readme.MD"
],
"exports": {
".": {
"import": {
"types": "./dist/es/index.d.ts",
"default": "./dist/es/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
2020-11-17 11:16:34 +00:00
"scripts": {
2020-11-17 17:46:52 +00:00
"release": "node ./scripts/create-index.js && vik patch -t",
2020-11-17 11:16:34 +00:00
"clean": "rm -rf dist",
"prepare": "npm run clean && npm run compile",
"test": "jest --coverage && npm run compile",
2020-11-17 11:16:34 +00:00
"compile:es": "tsc --declaration true --declarationMap true --module esnext --outDir './dist/es'",
"compile:commonjs": "tsc --declaration true --declarationMap true --module commonjs --outDir './dist/commonjs'",
"compile": "npm run clean && npm run compile:es && npm run compile:commonjs && npm run document",
"document": "./node_modules/.bin/typedoc --plugin typedoc-plugin-markdown --publicPath ./docs/ --out docs ./ts-src && cp ./docs/modules.md ./readme.MD"
2020-11-17 11:16:34 +00:00
},
"author": "Martin Donnelly",
"license": "ISC",
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/sinon": "^10.0.18",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.39.0",
"grunt": "^1.6.1",
"jest": "^29.7.0",
"marked": "^9.0.3",
"prettier": "^3.0.3",
"save": "^2.9.0",
"sinon": "^16.0.0",
"ts-jest": "^29.1.1",
2022-09-25 16:12:57 +00:00
"ts-node": "^10.9.1",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.2.2",
2020-11-17 11:16:34 +00:00
"vik": "^0.4.0"
},
"description": "",
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "/ts-src/.*.test.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"collectCoverageFrom": [
"ts-src/**/*.tsx",
"ts-src/**/*.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}