-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
88 lines (88 loc) · 2.59 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
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@bramus/specificity",
"version": "2.3.0",
"description": "Calculate specificity of a CSS Selector",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"browser": "./dist/index.js",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./core": {
"import": "./src/core/index.js"
},
"./util": {
"import": "./src/util/index.js"
},
"./compare": {
"import": "./src/util/compare.js"
},
"./filter": {
"import": "./src/util/filter.js"
},
"./sort": {
"import": "./src/util/sort.js"
}
},
"unpkg": "./dist/index.js",
"jsdelivr": "./dist/index.js",
"files": [
"bin",
"src",
"dist",
"index.d.ts"
],
"types": "./index.d.ts",
"bin": {
"specificity": "./bin/cli.js"
},
"scripts": {
"build-esm": "esbuild --bundle ./src/index.js --outfile=./dist/index.js --format=esm --sourcemap --minify",
"build-cjs": "esbuild --bundle ./src/index.js --outfile=./dist/index.cjs --format=cjs --sourcemap --minify",
"lint": "prettier --check '{src,test}/**/*.{ts,tsx,js,jsx}'",
"prettier": "prettier --write '{src,test}/**/*.{ts,tsx,js,jsx}'",
"build": "npm run build-esm && npm run build-cjs",
"prepack": "npm run prevent-dirty-tree && npm run test",
"prepublish": "npm run build",
"pretest": "npm run build",
"test": "mocha",
"beta-version-patch": "npm version $(semver $npm_package_version -i prerelease --preid beta)",
"beta-version-minor": "npm version $(semver $npm_package_version -i preminor --preid beta)",
"beta-version-major": "npm version $(semver $npm_package_version -i premajor --preid beta)",
"rc-version": "npm version $(semver $npm_package_version -i prerelease --preid rc)",
"final-release": "npm version $(semver $npm_package_version -i)",
"preversion": "npm run prevent-dirty-tree && npm run test",
"prevent-dirty-tree": "exit $(git status --porcelain | wc -l)"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bramus/specificity.git"
},
"keywords": [
"css",
"specificity"
],
"author": {
"name": "Bramus Van Damme",
"email": "[email protected]",
"twitter": "@bramus",
"web": "https://www.bram.us/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/bramus/specificity/issues"
},
"homepage": "https://github.com/bramus/specificity#readme",
"devDependencies": {
"esbuild": "^0.14.5",
"mocha": "^9.1.3",
"prettier": "2.5.1",
"semver": "^7.3.5"
},
"dependencies": {
"css-tree": "^3.0.0"
}
}