-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
108 lines (108 loc) · 2.57 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "usercss-meta",
"version": "0.12.0",
"description": "Parse the metadata of usercss used by Stylus extension",
"license": "MIT",
"repository": "openstyles/usercss-meta",
"author": {
"name": "openstyles",
"url": "https://github.com/openstyles"
},
"engines": {
"node": ">=8.3"
},
"scripts": {
"test": "xo && nyc ava",
"build": "shx rm -rf dist && rollup -c",
"build-units": "shx rm -rf data/* && node generate-units > data/units.js",
"coverage": "nyc report --reporter=html",
"preversion": "node prepare-release.js && npm test && npm run build && node browser-test",
"version": "npm run build && git add .",
"postversion": "git push --follow-tags && npm publish"
},
"files": [
"index.js",
"lib",
"dist",
"shim",
"data"
],
"browser": {
"url": "./shim/url.js"
},
"unpkg": "dist/usercss-meta.js",
"keywords": [
"css",
"usercss",
"parser",
"parse",
"stringify"
],
"devDependencies": {
"@rollup/plugin-node-resolve": "^10.0.0",
"ava": "^3.13.0",
"cheerio": "^1.0.0-rc.3",
"endent": "^2.0.1",
"node-fetch": "^2.6.1",
"nyc": "^15.1.0",
"rollup": "^2.33.3",
"rollup-plugin-cjs-es": "^1.0.1",
"rollup-plugin-terser": "^7.0.2",
"shx": "^0.3.3",
"xo": "^0.41.0"
},
"xo": {
"esnext": true,
"space": true,
"rules": {
"capitalized-comments": 0,
"comma-dangle": 0,
"curly": 0,
"default-case": 0,
"eqeqeq": [
2,
"smart"
],
"import/prefer-default-export": 0,
"import/extensions": 0,
"linebreak-style": 0,
"new-cap": 0,
"no-mixed-operators": 0,
"no-eq-null": 0,
"operator-linebreak": 0,
"padded-blocks": 0,
"prefer-destructuring": 0,
"prefer-exponentiation-operator": 0,
"prefer-object-spread": 0,
"prefer-spread": 0,
"quote-props": 0,
"quotes": [
2,
"single",
{
"avoidEscape": true
}
],
"node/no-path-concat": 0,
"unicorn/catch-error-name": 0,
"unicorn/explicit-length-check": 0,
"unicorn/new-for-builtins": 0,
"unicorn/no-reduce": 0,
"unicorn/no-array-for-each": 0,
"unicorn/no-array-reduce": 0,
"unicorn/prefer-optional-catch-binding": 0,
"unicorn/prefer-starts-ends-with": 0,
"unicorn/prefer-exponentiation-operator": 0,
"unicorn/prefer-module": 0,
"unicorn/prevent-abbreviations": 0
}
},
"ava": {
"files": [
"tests/*.test.js"
]
},
"nyc": {
"exclude": "tests"
}
}