-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
59 lines (59 loc) · 1.84 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "@funboxteam/diamonds",
"version": "8.9.0",
"description": "A shiny pile of typed JS helpers for everyday use",
"scripts": {
"build": "npm run clean && npm run build-esm-and-types && npm run build-cjs",
"build-cjs": "tsc --outDir ./dist/cjs --module CommonJS",
"build-esm-and-types": "tsc --outDir ./dist/esm --module ES6 --declaration true --declarationDir ./dist/types",
"clean": "rm -rf dist/",
"coverage": "mkdir -p ./coverage/ && nyc report --reporter=text-lcov > ./coverage/lcov.info",
"lint": "eslint --cache -c .eslintrc.js --ext .ts lib tests",
"prebuild": "npm run lint && rm -rf dist",
"prepack": "npm run build",
"prepublishOnly": "if [ -z \"$CI\" ]; then lawyer; fi",
"start": "nodemon -e ts,js,json --exec 'npm test'",
"test": "npm run lint && nyc mocha -- --require ts-node/register tests/*.ts"
},
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"author": "Igor Adamenko <mail@igoradamenko.com> (https://igoradamenko.com)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/funbox/diamonds"
},
"files": [
"dist/",
"MIGRATION.md"
],
"devDependencies": {
"@funboxteam/eslint-config": "7.3.0",
"@types/chai": "4.2.11",
"@types/mocha": "8.0.0",
"@types/node": "14.0.4",
"@typescript-eslint/eslint-plugin": "5.59.7",
"@typescript-eslint/parser": "5.59.7",
"chai": "4.2.0",
"eslint": "7.32.0",
"husky": "4.3.8",
"lint-staged": "10.2.11",
"mocha": "9.2.2",
"nodemon": "2.0.20",
"nyc": "15.1.0",
"ts-node": "8.10.2",
"typescript": "3.9.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -q"
}
},
"lint-staged": {
"lib/**/*.ts": [
"eslint --fix --cache -c .eslintrc.js"
]
}
}