-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
76 lines (76 loc) · 2.08 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
70
71
72
73
74
75
76
{
"name": "csstree-validator",
"version": "4.0.1",
"description": "CSS validator built on csstree",
"author": "Roman Dvornov <[email protected]>",
"license": "MIT",
"repository": "csstree/validator",
"keywords": [
"css",
"syntax",
"validator",
"checker"
],
"bin": {
"csstree-validator": "./bin/validate.js"
},
"type": "module",
"main": "./cjs/index.cjs",
"module": "./lib/index.js",
"exports": {
".": {
"browser": {
"import": "./lib/bundle.js",
"require": "./cjs/bundle.cjs"
},
"import": "./lib/index.js",
"require": "./cjs/index.cjs"
},
"./package.json": "./package.json"
},
"unpkg": "dist/csstree-validator.esm.js",
"jsdelivr": "dist/csstree-validator.esm.js",
"browser": {
"./cjs/index.cjs": "./cjs/bundle.cjs",
"./lib/index.js": "./lib/bundle.js",
"./cjs/version.cjs": "./dist/version.cjs",
"./lib/version.js": "./dist/version.js"
},
"scripts": {
"lint-and-test": "npm run lint && npm test",
"lint": "eslint lib test",
"test": "mocha test --reporter ${REPORTER:-progress}",
"test:cjs": "mocha cjs-test --reporter ${REPORTER:-progress}",
"test:dist": "mocha dist/test --reporter ${REPORTER:-progress}",
"build": "npm run bundle && npm run esm-to-cjs",
"build-and-test": "npm run build && npm run test:dist && npm run test:cjs",
"bundle": "node scripts/bundle",
"bundle-and-test": "npm run bundle && npm run test:dist",
"esm-to-cjs": "node scripts/esm-to-cjs",
"esm-to-cjs-and-test": "npm run esm-to-cjs && npm run test:cjs",
"coverage": "c8 --reporter=lcovonly npm test",
"prepublishOnly": "npm run lint-and-test && npm run build-and-test"
},
"dependencies": {
"clap": "^3.0.0",
"css-tree": "^3.0.0",
"enhanced-resolve": "^5.16.0"
},
"devDependencies": {
"c8": "^7.10.0",
"esbuild": "^0.21.0",
"eslint": "^8.4.1",
"mocha": "^9.1.3",
"rollup": "^2.79.2"
},
"engines": {
"node": "^12.20.0 || ^14.13.0 || >=15.0.0",
"npm": ">=7.0.0"
},
"files": [
"bin",
"cjs",
"dist",
"lib"
]
}