1 | {
|
2 | "name": "compary",
|
3 | "version": "0.1.0",
|
4 | "description": "A library for composing complex compare-functions",
|
5 | "main": "lib/Compary.js",
|
6 | "umd:main": "lib-umd/compary.js",
|
7 | "typings": "lib/Compary.d.ts",
|
8 | "scripts": {
|
9 | "test": "jest",
|
10 | "watch": "jest --watch --notify",
|
11 | "coverage": "rimraf coverage && jest --coverage",
|
12 | "travis": "yarn run lint && yarn test",
|
13 | "lint": "node_modules/.bin/tslint -c tslint.json src/**/*.ts test/**/*.ts",
|
14 | "docs": "rimraf docs && typedoc --name Compary --readme APIDOC.md --module commonjs --out docs --target es6 --hideGenerator --gaID UA-48569937-1 src",
|
15 | "docs-publish": "yarn run docs && touch docs/.nojekyll && gh-pages -d docs -t",
|
16 | "build": "rimraf lib && rimraf lib-umd && yarn run lint && tsc && yarn test && webpack && size-limit",
|
17 | "build-prod": "yarn run build && yarn run docs-publish",
|
18 | "prepublishOnly": "yarn run build-prod"
|
19 | },
|
20 | "author": "Benjamin Winterberg",
|
21 | "homepage": "http://winterbe.com",
|
22 | "license": "MIT",
|
23 | "repository": {
|
24 | "type": "git",
|
25 | "url": "https://github.com/winterbe/compary.git"
|
26 | },
|
27 | "bugs": {
|
28 | "url": "https://github.com/winterbe/compary/issues"
|
29 | },
|
30 | "files": [
|
31 | "lib",
|
32 | "lib-umd",
|
33 | "LICENSE"
|
34 | ],
|
35 | "engines": {
|
36 | "node": ">=6.0.0"
|
37 | },
|
38 | "devDependencies": {
|
39 | "@types/jest": "^20.0.8",
|
40 | "awesome-typescript-loader": "^3.2.3",
|
41 | "gh-pages": "^1.0.0",
|
42 | "jest": "^21.0.1",
|
43 | "rimraf": "^2.6.1",
|
44 | "size-limit": "^0.11.0",
|
45 | "tslint": "^5.7.0",
|
46 | "typedoc": "^0.8.0",
|
47 | "typescript": "^2.5.2",
|
48 | "webpack": "^3.5.5"
|
49 | },
|
50 | "dependencies": {},
|
51 | "jest": {
|
52 | "moduleFileExtensions": [
|
53 | "ts",
|
54 | "js"
|
55 | ],
|
56 | "transform": {
|
57 | "^.+\\.ts$": "<rootDir>/preprocessor.js"
|
58 | },
|
59 | "testMatch": [
|
60 | "**/test/*.ts"
|
61 | ]
|
62 | },
|
63 | "size-limit": [
|
64 | {
|
65 | "path": "lib-umd/compary.min.js",
|
66 | "limit": "1 KB"
|
67 | }
|
68 | ],
|
69 | "keywords": [
|
70 | "compare",
|
71 | "comparator",
|
72 | "comparison",
|
73 | "compose",
|
74 | "functional",
|
75 | "sort"
|
76 | ]
|
77 | }
|