-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
69 lines (69 loc) · 2.15 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
60
61
62
63
64
65
66
67
68
69
{
"name": "colors-convert",
"description": "A simple color library",
"version": "1.4.1",
"repository": {
"type": "git",
"url": "https://github.com/ilariaventurini/colors-convert.git"
},
"author": {
"name": "Ilaria Venturini",
"email": "venturini.ila@gmail.com"
},
"private": false,
"license": "MIT",
"keywords": [
"color",
"converter",
"transform",
"hex",
"rgb",
"rgba",
"cmyk",
"hsl",
"hsla",
"color-model"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"files": [
"dist/"
],
"types": "dist/cjs/index.d.ts",
"scripts": {
"compile": "rm -rf dist/ && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"compile-watch": "rm -rf dist/ && tsc -p tsconfig.json -w | tsc -p tsconfig-cjs.json -w",
"format": "prettier src/**/*.ts src/**/**/*.ts --write",
"lint": "tslint -p tsconfig.json",
"prepublish": "yarn compile",
"clean": "yarn format && yarn lint",
"start:demo": "parcel demo/index.html",
"build": "parcel build demo/index.html --out-dir demo-build",
"test": "jest --config jestconfig.json",
"test-watch": "jest --watch --config jestconfig.json",
"coverage-watch": "yarn test --watchAll --coverage",
"coverage-interactive-watch": "npx live-server --port=9000 coverage",
"docs:html": "documentation build --config documentation.yml src/lib/**/*.ts --parse-extension ts --format html --output docs --favicon ../public/peacock-64.png",
"docs:md": "documentation build --config documentation.yml src/lib/**/*.ts --parse-extension ts --format md --output docs/docs.md",
"docs": "yarn docs:html && yarn docs:md"
},
"devDependencies": {
"@types/jest": "^24.0.21",
"@types/lodash": "^4.14.161",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"codecov": "^3.6.5",
"documentation": "^13.1.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"jest": "^24.9.0",
"parcel": "^1.12.4",
"parcel-bundler": "^1.12.4",
"prettier": "^2.1.2",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
},
"dependencies": {
"lodash": "^4.17.15"
}
}