-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
package.json
167 lines (167 loc) · 3.37 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "stylis",
"version": "4.3.4",
"license": "MIT",
"description": "A Light–weight CSS Preprocessor",
"homepage": "https://github.com/thysultan/stylis.js",
"author": "Sultan Tarimo <[email protected]>",
"repository": "https://github.com/thysultan/stylis.js",
"bugs": "https://github.com/thysultan/stylis.js/issues",
"sideEffects": false,
"type": "module",
"main": "dist/umd/stylis.js",
"module": "dist/stylis.mjs",
"react-native": "./index.js",
"exports": {
".": {
"import": "./index.js",
"require": "./dist/umd/stylis.js"
},
"./package.json": "./package.json"
},
"files": [
"index.js",
"dist/",
"src/"
],
"scripts": {
"lint": "eslint ./",
"pretest": "npm run lint && npm run build",
"test": "nyc npm run spec",
"spec": "mocha --harmony --require esm script/setup.js --recursive test",
"prebuild": "rimraf dist",
"build": "rollup --config script/build.js --configSrc ./",
"start": "npm run build -- --watch",
"prepare": "npm run build",
"postversion": "git push --follow-tags && npm publish",
"release-major": "npm version major -m '%s'",
"release-minor": "npm version minor -m '%s'",
"release-patch": "npm version patch -m '%s'"
},
"devDependencies": {
"chai": "4.3.4",
"eslint": "6.8.0",
"esm": "3.2.25",
"mocha": "9.1.1",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rollup": "1.28.0",
"rollup-plugin-size": "0.2.1",
"rollup-plugin-terser": "5.1.3",
"stylis": "./"
},
"nyc": {
"temp-dir": "./coverage/.nyc_output",
"exclude": [
"**/dist/",
"**/test/",
"**/script/"
],
"reporter": [
"lcov",
"text"
]
},
"esm": {
"cjs": true,
"cache": false
},
"eslintIgnore": [
"script/",
"test/",
"dist/",
"docs/"
],
"eslintConfig": {
"env": {
"commonjs": true,
"browser": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"rules": {
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
],
"no-cond-assign": [
"off"
],
"no-redeclare": [
"off"
],
"no-fallthrough": [
"off"
],
"no-console": [
"off"
],
"no-unsafe-finally": [
"off"
],
"no-shadow-restricted-names": [
"error"
],
"no-whitespace-before-property": [
"error"
],
"no-else-return": [
"error"
],
"eol-last": [
"error"
],
"func-call-spacing": [
"error",
"never"
],
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": true
}
],
"require-jsdoc": [
"error",
{
"require": {
"FunctionDeclaration": true
}
}
],
"no-trailing-spaces": [
"error",
{
"skipBlankLines": true
}
],
"no-constant-condition": [
"off"
]
}
}
}