utils/package.json

79 lines
2.2 KiB
JSON
Raw Normal View History

2020-11-17 11:16:34 +00:00
{
"name": "@rakh/utils",
"version": "2.0.16",
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.0",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"grunt": "^1.6.1",
"jest": "^29.5.0",
"marked": "^4.3.0",
"prettier": "^2.8.7",
"save": "^2.9.0",
"sinon": "^15.0.3",
"ts-jest": "^29.1.0",
2022-09-25 16:12:57 +00:00
"ts-node": "^10.9.1",
"typedoc": "^0.23.28",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "^5.0.3",
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"
]
}
}