1 | {
|
2 | "name": "nth-check",
|
3 | "version": "2.0.1",
|
4 | "description": "Parses and compiles CSS nth-checks to highly optimized functions.",
|
5 | "author": "Felix Boehm <me@feedic.com>",
|
6 | "license": "BSD-2-Clause",
|
7 | "sideEffects": false,
|
8 | "funding": {
|
9 | "url": "https://github.com/fb55/nth-check?sponsor=1"
|
10 | },
|
11 | "directories": {
|
12 | "lib": "lib/"
|
13 | },
|
14 | "main": "lib/index.js",
|
15 | "types": "lib/index.d.ts",
|
16 | "files": [
|
17 | "lib/**/*"
|
18 | ],
|
19 | "scripts": {
|
20 | "test": "npm run test:jest && npm run lint",
|
21 | "test:jest": "jest",
|
22 | "lint": "npm run lint:es && npm run lint:prettier",
|
23 | "lint:es": "eslint .",
|
24 | "lint:prettier": "npm run prettier -- --check",
|
25 | "format": "npm run format:es && npm run format:prettier",
|
26 | "format:es": "npm run lint:es -- --fix",
|
27 | "format:prettier": "npm run prettier -- --write",
|
28 | "prettier": "prettier '**/*.{ts,md,json,yml}'",
|
29 | "build": "tsc",
|
30 | "prepare": "npm run build"
|
31 | },
|
32 | "repository": {
|
33 | "type": "git",
|
34 | "url": "https://github.com/fb55/nth-check"
|
35 | },
|
36 | "keywords": [
|
37 | "nth-child",
|
38 | "nth",
|
39 | "css"
|
40 | ],
|
41 | "bugs": {
|
42 | "url": "https://github.com/fb55/nth-check/issues"
|
43 | },
|
44 | "homepage": "https://github.com/fb55/nth-check",
|
45 | "dependencies": {
|
46 | "boolbase": "^1.0.0"
|
47 | },
|
48 | "devDependencies": {
|
49 | "@types/jest": "^27.0.1",
|
50 | "@types/node": "^16.9.1",
|
51 | "@typescript-eslint/eslint-plugin": "^4.31.1",
|
52 | "@typescript-eslint/parser": "^4.31.1",
|
53 | "eslint": "^7.32.0",
|
54 | "eslint-config-prettier": "^8.3.0",
|
55 | "jest": "^27.2.0",
|
56 | "prettier": "^2.4.1",
|
57 | "ts-jest": "^27.0.5",
|
58 | "typescript": "^4.4.3"
|
59 | },
|
60 | "jest": {
|
61 | "preset": "ts-jest",
|
62 | "testEnvironment": "node"
|
63 | },
|
64 | "prettier": {
|
65 | "tabWidth": 4
|
66 | }
|
67 | }
|