-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
65 lines (65 loc) · 2.38 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
{
"name": "@oddbird/css-toggles",
"version": "0.0.0-development",
"description": "Polyfill for the proposed CSS Toggles syntax",
"license": "BSD-3-Clause",
"publishConfig": {
"access": "public"
},
"author": "OddBird <[email protected]> (oddbird.net)",
"repository": {
"type": "git",
"url": "https://github.com/oddbird/css-toggles.git"
},
"bugs": "https://github.com/oddbird/css-toggles/issues",
"homepage": "https://toggles.oddbird.net",
"keywords": [
"css",
"polyfill",
"toggle"
],
"type": "module",
"main": "dist/css-toggles.js",
"module": "dist/css-toggles.js",
"files": [
"README.md",
"src/**/*.js",
"dist/css-toggles.iife.min.js",
"dist/css-toggles.min.js",
"dist/css-toggles.js",
"package.json"
],
"scripts": {
"build:iife:minified": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.iife.min.js --format=iife --minify",
"build:esm:minified": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.min.js --format=esm --minify",
"build:esm:debug": "esbuild --bundle src/css-toggles.js --outfile=dist/css-toggles.js --format=esm",
"build": "rm -rf dist && yarn build:esm:debug && yarn build:esm:minified && yarn build:iife:minified",
"dev": "rm -rf dist && esbuild --bundle src/css-toggles.js --format=esm --servedir=. --outdir=dist --sourcemap --serve=3000",
"format:css": "stylelint --fix src/**/*.css",
"format:js": "prettier --write {src,tests}/**/*.js && eslint --fix {src,tests}/**/*.js",
"format": "yarn format:css && yarn format:js",
"lint:css": "stylelint src/**/*.css",
"lint:js": "prettier --check {src,tests}/**/*.js && eslint {src,tests}/**/*.js",
"lint": "yarn lint:css && yarn lint:js",
"prepack": "yarn build",
"preview": "yarn build && esbuild --servedir=. --serve=\"${PORT:-3000}\" --log-level=\"${LEVEL:-info}\"",
"test": "playwright test",
"test:ci": "playwright test --browser=all"
},
"devDependencies": {
"@playwright/test": "^1.35.1",
"esbuild": "^0.18.11",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",
"prettier": "^3.0.0",
"stylelint": "^15.10.1",
"stylelint-config-standard": "^34.0.0"
},
"dependencies": {
"stylis": "^4.3.0"
}
}