-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
65 lines (65 loc) · 2.16 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": "sortable-tablesort",
"version": "4.0.0",
"description": "A tiny, Vanilla/Plain JavaScript table sorter",
"private": false,
"type": "module",
"main": "dist/sortable.min.js",
"module": "dist/esm/sortable.min.js",
"style": "dist/sortable.min.css",
"sass": "src/scss/sortable.scss",
"files": [
"./src",
"./dist",
"./CHANGELOG.md"
],
"scripts": {
"clean": "rimraf dist/*",
"build": "npm run clean && vite build --mode module && vite build --mode standalone && vite build --mode standalone-a11y && vite build --mode bundle && vite build --mode bundle-a11y && rollup -c",
"compile": "tsx ./scripts/compile.ts dist dist/standalone",
"lint": "eslint './src/*.ts'",
"prepare": "tsx ./scripts/prepare.ts",
"pre-push": "npm run build && npm run compile && npm run lint && npm run test",
"dev": "vite",
"prepare:tests": "tsx scripts/prepare-tests.ts",
"test": "npm run prepare:tests && (playwright test && npm run cleanup:tests || true)",
"cleanup:tests": "tsx scripts/prepare-tests.ts cleanup",
"serve": "vite preview --port 3009"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@playwright/test": "^1.48.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"autoprefixer": "^10.4.20",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.12.0",
"google-closure-compiler": "^20240317.0.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jsdom": "^25.0.1",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.24.4",
"rollup-plugin-scss": "^4.0.0",
"sass": "^1.80.6",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"packageManager": "[email protected]"
}