-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
42 lines (42 loc) · 1.52 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
{
"name": "velvette",
"version": "0.1.9-pre",
"description": "Make authoring CSS view-transitions easier",
"main": "src/index.js",
"scripts": {
"start": "node ./serve.js",
"build:classic": "npx esbuild src/index-classic.js --bundle --outfile=dist/browser/velvette.js --sourcemap --format=iife",
"build:classic:prod": "npx esbuild src/index-classic.js --bundle --outfile=dist/browser/velvette.min.js --sourcemap --format=iife --minify",
"build:cjs": "npx esbuild src/index.js --bundle --outfile=dist/cjs/index.js --sourcemap --format=cjs",
"build:types": "tsc --declaration --emitDeclarationOnly --allowJs --declarationDir ./dist --checkJs --target esnext --module nodenext src/*.js",
"build:docs": "typedoc",
"build": "npm run build:classic && npm run build:classic:prod && npm run build:cjs && npm run build:types && npm run build:docs",
"publish": "npx npm-bump patch",
"test": "npx playwright test"
},
"keywords": [],
"author": "Noam Rosenthal <nrosenthal@chromium.org>",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.40.1",
"@types/node": "^20.10.5",
"express": "^4.18.2",
"typedoc": "^0.25.4",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.3"
},
"exports": {
"node": {
"module": "./src/index.js",
"require": "./dist/cjs/index.js"
},
"script": "./dist/browser/velvette.min.js",
"default": "./src/index.js"
},
"types": "dist/index.d.ts",
"files": [
"src/*",
"dist/**/"
],
"type": "module"
}