diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
| commit | efbc2ffe6a1ee5ec38a4396305561d6515d0943e (patch) | |
| tree | 2b4c94f18f2c792dfda813050755d5c0273fae22 /node_modules/swup/package.json | |
| parent | 43acceb75957c880a5ba5a31aae221394a36d5f6 (diff) | |
node fixes, updates
Diffstat (limited to 'node_modules/swup/package.json')
| -rwxr-xr-x | node_modules/swup/package.json | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/node_modules/swup/package.json b/node_modules/swup/package.json new file mode 100755 index 00000000..a7d8652c --- /dev/null +++ b/node_modules/swup/package.json @@ -0,0 +1,99 @@ +{ + "name": "swup", + "amdName": "Swup", + "version": "4.7.0", + "description": "Versatile and extensible page transition library for server-rendered websites", + "type": "module", + "source": "./src/Swup.ts", + "main": "./dist/Swup.cjs", + "module": "./dist/Swup.module.js", + "unpkg": "./dist/Swup.umd.js", + "types": "./dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "import": "./dist/Swup.modern.js", + "require": "./dist/Swup.cjs" + } + }, + "files": [ + "src", + "dist" + ], + "scripts": { + "clean": "rm -rf ./dist", + "build": "npm run build:module && npm run build:bundle", + "build:module": "BROWSERSLIST_ENV=modern microbundle src/index.ts -f modern,esm,cjs", + "build:bundle": "BROWSERSLIST_ENV=production microbundle src/Swup.ts -f umd --external none", + "dev": "npm run clean && BROWSERSLIST_ENV=development microbundle src/index.ts -w -f modern", + "format": "npx eslint . --fix", + "lint": "npm run lint:ts && npm run lint:es", + "lint:ts": "tsc --noEmit --skipLibCheck", + "lint:es": "npx eslint .", + "lint:compat": "npx eslint --config .eslintrc.compat.cjs --no-eslintrc .", + "lint:prettier": "prettier 'src/**/*.ts'", + "prepublishOnly": "npm run build", + "postinstall": "opencollective-postinstall || true", + "test": "npm run test:unit && npm run test:e2e", + "test:ci": "npm run test:unit && npm run test:e2e:ci", + "test:unit": "vitest run --config ./tests/config/vitest.config.ts", + "test:unit:watch": "vitest --config ./tests/config/vitest.config.ts", + "test:e2e": "npx playwright test --config ./tests/config/playwright.config.ts", + "test:e2e:dev": "npx playwright test --ui --config ./tests/config/playwright.config.ts", + "test:e2e:install": "npx playwright install --with-deps", + "test:e2e:instrument": "nyc instrument --compact=false dist tests/fixtures/dist", + "test:e2e:serve": "npx serve -n -S -L -p 8274 --config ./tests/config/serve.json", + "test:e2e:start": "npm run test:e2e:instrument && npm run test:e2e:serve", + "prepare": "husky install" + }, + "author": "Georgy Marchuk", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/swup/swup.git" + }, + "keywords": [ + "css", + "page", + "transition", + "animation" + ], + "dependencies": { + "delegate-it": "^6.0.0", + "opencollective-postinstall": "^2.0.2", + "path-to-regexp": "^6.2.1" + }, + "devDependencies": { + "@babel/preset-typescript": "^7.18.6", + "@playwright/test": "^1.37.1", + "@swup/browserslist-config": "^1.0.0", + "@swup/prettier-config": "^1.0.0", + "@types/dom-view-transitions": "^1.0.2", + "@types/jsdom": "^21.1.1", + "@typescript-eslint/eslint-plugin": "^7.13.0", + "@typescript-eslint/parser": "^7.13.0", + "eslint": "^8.46.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-compat": "^5.0.0", + "eslint-plugin-ecmascript-compat": "^3.2.0", + "eslint-plugin-prettier": "^5.0.1", + "husky": "^9.0.11", + "istanbul-lib-coverage": "^3.2.0", + "jsdom": "^24.1.0", + "microbundle": "^0.15.0", + "nyc": "^17.0.0", + "prettier": "^3.1.0", + "serve": "^14.2.1", + "typed-query-selector": "^2.11.0", + "typescript": "^5.2.2", + "vitest": "^1.0.2" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/swup" + }, + "browserslist": [ + "extends @swup/browserslist-config" + ], + "prettier": "@swup/prettier-config" +} |
