1 | {
|
---|
2 | "author": "Felix Böhm <me@feedic.com> (http://feedic.com)",
|
---|
3 | "name": "css-what",
|
---|
4 | "description": "a CSS selector parser",
|
---|
5 | "version": "6.1.0",
|
---|
6 | "funding": {
|
---|
7 | "url": "https://github.com/sponsors/fb55"
|
---|
8 | },
|
---|
9 | "repository": {
|
---|
10 | "type": "git",
|
---|
11 | "url": "https://github.com/fb55/css-what"
|
---|
12 | },
|
---|
13 | "main": "lib/commonjs/index.js",
|
---|
14 | "module": "lib/es/index.js",
|
---|
15 | "types": "lib/es/index.d.ts",
|
---|
16 | "sideEffects": false,
|
---|
17 | "files": [
|
---|
18 | "lib/**/*"
|
---|
19 | ],
|
---|
20 | "scripts": {
|
---|
21 | "test": "npm run test:jest && npm run lint",
|
---|
22 | "test:jest": "jest",
|
---|
23 | "lint": "npm run lint:es && npm run lint:prettier",
|
---|
24 | "lint:es": "eslint src",
|
---|
25 | "lint:prettier": "npm run prettier -- --check",
|
---|
26 | "format": "npm run format:es && npm run format:prettier",
|
---|
27 | "format:es": "npm run lint:es -- --fix",
|
---|
28 | "format:prettier": "npm run prettier -- --write",
|
---|
29 | "prettier": "prettier '**/*.{ts,md,json,yml}'",
|
---|
30 | "build": "tsc && tsc -p tsconfig.es.json",
|
---|
31 | "prepare": "npm run build"
|
---|
32 | },
|
---|
33 | "devDependencies": {
|
---|
34 | "@types/jest": "^27.4.1",
|
---|
35 | "@types/node": "^17.0.23",
|
---|
36 | "@typescript-eslint/eslint-plugin": "^5.17.0",
|
---|
37 | "@typescript-eslint/parser": "^5.17.0",
|
---|
38 | "eslint": "^8.12.0",
|
---|
39 | "eslint-config-prettier": "^8.5.0",
|
---|
40 | "eslint-plugin-node": "^11.1.0",
|
---|
41 | "jest": "^27.5.1",
|
---|
42 | "prettier": "^2.6.1",
|
---|
43 | "ts-jest": "^27.1.4",
|
---|
44 | "typescript": "^4.6.3"
|
---|
45 | },
|
---|
46 | "engines": {
|
---|
47 | "node": ">= 6"
|
---|
48 | },
|
---|
49 | "license": "BSD-2-Clause",
|
---|
50 | "jest": {
|
---|
51 | "preset": "ts-jest",
|
---|
52 | "roots": [
|
---|
53 | "src"
|
---|
54 | ]
|
---|
55 | },
|
---|
56 | "prettier": {
|
---|
57 | "tabWidth": 4
|
---|
58 | }
|
---|
59 | }
|
---|