-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.93 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 3.93 KB
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.9.0",
"description": "Polyfill for the proposed CSS anchor positioning spec",
"license": "BSD-3-Clause",
"publishConfig": {
"access": "public"
},
"author": "OddBird <birds@oddbird.net> (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:demo 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",
"build:demo": "cross-env BUILD_DEMO=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": "NODE_OPTIONS='--no-experimental-strip-types' 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.7.6",
"@types/css-tree": "^2.3.11",
"css-tree": "^3.2.1",
"nanoid": "^5.1.11"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "1.43.1",
"@rollup/plugin-replace": "^6.0.3",
"@types/async": "^3.2.25",
"@types/node": "*",
"@types/selenium-webdriver": "^4.35.5",
"@vitest/coverage-istanbul": "^4.1.5",
"@vitest/eslint-plugin": "^1.6.16",
"async": "^3.2.6",
"browserslist": "^4.28.2",
"browserstack-local": "^1.5.13",
"cross-env": "^10.1.0",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-simple-import-sort": "^13.0.0",
"fetch-mock": "^12.6.0",
"globals": "^17.5.0",
"jsdom": "^29.1.1",
"liquidjs": "^10.25.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.3",
"rollup-plugin-bundle-stats": "^4.22.1",
"selenium-webdriver": "^4.43.0",
"stylelint": "^17.9.1",
"stylelint-config-standard": "^40.0.0",
"ts-node": "^10.9.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.1",
"vite": "^8.0.10",
"vitest": "^4.1.5"
},
"sideEffects": [
"./src/index.ts",
"./dist/css-anchor-positioning.js",
"./dist/css-anchor-positioning.umd.cjs"
]
}