mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
91 lines
3.4 KiB
JSON
91 lines
3.4 KiB
JSON
{
|
|
"name": "ts-enum-util",
|
|
"version": "4.0.2",
|
|
"description": "TypeScript Enum Utilities",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/UselessPickles/ts-enum-util.git"
|
|
},
|
|
"homepage": "https://github.com/UselessPickles/ts-enum-util",
|
|
"bugs": {
|
|
"url": "https://github.com/UselessPickles/ts-enum-util/issues"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"main": "dist/commonjs/index.js",
|
|
"jsnext:main": "dist/es/index.js",
|
|
"module": "dist/es/index.js",
|
|
"types": "dist/types/index.d.ts",
|
|
"scripts": {
|
|
"clean:dist": "rimraf dist",
|
|
"clean:coverage": "rimraf coverage",
|
|
"clean:pack": "rimraf ts-enum-util-*.tgz",
|
|
"compile": "tsc --project tsconfig.json --noEmit --pretty --noErrorTruncation",
|
|
"lint": "tslint --config tslint.json --project tsconfig.json",
|
|
"lint:fix": "npm run lint -- --fix",
|
|
"prettier:test": "prettier --list-different \"{src,tests,type_tests}/**/*.ts\"",
|
|
"prettier:fix": "prettier --write \"{src,tests,type_tests}/**/*.ts\"",
|
|
"build:types": "tsc --project src/tsconfig.json --pretty --noErrorTruncation --emitDeclarationOnly true --declarationMap true --outDir dist/types",
|
|
"build:commonjs": "tsc --project src/tsconfig.json --pretty --removeComments --noErrorTruncation --declaration false --outDir dist/commonjs",
|
|
"build:es": "tsc --project src/tsconfig.json --pretty --removeComments --noErrorTruncation --declaration false -m es6 --outDir dist/es",
|
|
"build": "npm run clean:dist && run-p build:types build:es build:commonjs",
|
|
"pack": "run-p clean:pack build && npm pack",
|
|
"jest": "jest",
|
|
"jest:coverage": "npm run clean:coverage && jest --coverage",
|
|
"dtslint:v2_9_plus": "dtslint --expectOnly type_tests/v2_9_plus",
|
|
"dtslint": "run-s clean:dist build:types dtslint:v2_9_plus",
|
|
"test": "run-s compile prettier:test lint dtslint jest",
|
|
"test:coverage": "run-s compile prettier:test lint dtslint jest:coverage",
|
|
"build:travis": "run-p test:coverage build && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
|
|
},
|
|
"author": {
|
|
"name": "Jeff Lau",
|
|
"email": "jlau@uselesspickles.com",
|
|
"url": "http://www.uselesspickles.com"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/jest": "24.0.23",
|
|
"coveralls": "3.0.9",
|
|
"dtslint": "2.0.2",
|
|
"jest": "24.9.0",
|
|
"npm-run-all": "4.1.5",
|
|
"prettier": "1.19.1",
|
|
"rimraf": "3.0.0",
|
|
"ts-jest": "24.2.0",
|
|
"tslint": "5.20.1",
|
|
"tslint-config-prettier": "1.18.0",
|
|
"typescript": "3.7.2"
|
|
},
|
|
"keywords": [
|
|
"typescript",
|
|
"string",
|
|
"number",
|
|
"literal",
|
|
"union",
|
|
"enum",
|
|
"util"
|
|
],
|
|
"jest": {
|
|
"cacheDirectory": "./jest_cache",
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,ts}",
|
|
"!**/node_modules/**"
|
|
],
|
|
"coverageReporters": [
|
|
"text",
|
|
"lcov"
|
|
],
|
|
"testRegex": "((\\.|/)(test|spec))\\.(ts|js)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js"
|
|
]
|
|
}
|
|
}
|