generated from oddbird/polyfill-template
-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
126 lines (126 loc) · 3.8 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
{
"name": "@oddbird/css-anchor-positioning",
"version": "0.4.0",
"description": "Polyfill for the proposed CSS anchor positioning spec",
"license": "BSD-3-Clause",
"publishConfig": {
"access": "public"
},
"author": "OddBird <[email protected]> (oddbird.net)",
"repository": {
"type": "git",
"url": "https://github.com/oddbird/css-anchor-positioning.git"
},
"bugs": "https://github.com/oddbird/css-anchor-positioning/issues",
"homepage": "https://anchor-positioning.oddbird.net",
"keywords": [
"css",
"polyfill",
"anchor-positioning"
],
"type": "module",
"main": "./dist/css-anchor-positioning.umd.cjs",
"module": "./dist/css-anchor-positioning.js",
"unpkg": "./dist/css-anchor-positioning.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/css-anchor-positioning.js",
"require": "./dist/css-anchor-positioning.umd.cjs"
},
"./fn": {
"types": "./dist/index-fn.d.ts",
"import": "./dist/css-anchor-positioning-fn.js",
"require": "./dist/css-anchor-positioning-fn.umd.cjs"
}
},
"typesVersions": {
"*": {
"fn": [
"./dist/index-fn.d.ts"
]
}
},
"files": [
"README.md",
"src/**/*.ts",
"dist/**/*.{ts,js,cjs,map}",
"package.json"
],
"scripts": {
"build": "run-s build:dist build:fn",
"build:dist": "vite build",
"build:fn": "cross-env BUILD_FN=1 vite build",
"build:wpt": "cross-env BUILD_WPT=1 vite build",
"preview": "vite preview",
"serve": "vite dev",
"tsc": "tsc --noEmit",
"tsc:tests": "tsc --project tests/tsconfig.json",
"types": "tsc --emitDeclarationOnly",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"eslint:check": "eslint .",
"eslint:fix": "npm run eslint:check -- --fix",
"format:css": "npm run lint:css -- --fix",
"format:js": "run-s prettier:fix eslint:fix tsc tsc:tests",
"lint": "run-s format:css format:js",
"lint:css": "stylelint \"**/*.css\"",
"lint:js": "run-s prettier:check eslint:check tsc tsc:tests",
"lint:ci": "run-p lint:css lint:js",
"prepack": "run-s build types",
"test:unit": "vitest",
"test:watch": "npm run test:unit -- --watch",
"test:e2e": "playwright test tests/e2e/",
"test:e2e:ci": "npm run test:e2e -- --browser=all",
"test": "run-p test:unit test:e2e",
"test:ci": "run-p test:unit test:e2e:ci",
"test:wpt": "node --loader ts-node/esm ./tests/wpt.ts"
},
"dependencies": {
"@floating-ui/dom": "^1.6.12",
"@types/css-tree": "^2.3.9",
"css-tree": "^3.0.1",
"nanoid": "^5.0.9"
},
"devDependencies": {
"@playwright/test": "1.43.1",
"@types/async": "^3.2.24",
"@types/node": "*",
"@types/selenium-webdriver": "^4.1.27",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/eslint-plugin": "^1.1.14",
"async": "^3.2.6",
"browserslist": "^4.24.2",
"browserstack-local": "^1.5.5",
"cross-env": "^7.0.3",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"fetch-mock": "^12.2.0",
"jsdom": "^25.0.1",
"liquidjs": "^10.19.0",
"node-fetch": "^2.6.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.1",
"rollup-plugin-bundle-stats": "^4.17.0",
"selenium-webdriver": "^4.27.0",
"stylelint": "^16.11.0",
"stylelint-config-standard": "^36.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0",
"vite": "^6.0.2",
"vitest": "^2.1.8"
},
"overrides": {
"vite": "^6.0.2"
},
"sideEffects": [
"./src/index.ts",
"./dist/css-anchor-positioning.js",
"./dist/css-anchor-positioning.umd.cjs"
]
}