-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.22 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
{
"name": "nicee",
"description": "A small framework for creating nice little web applications.",
"version": "0.0.2",
"type": "module",
"main": "./out/index.cjs",
"module": "./out/index.js",
"types": "./out/index.d.ts",
"src": "./src/nice/index.ts",
"author": "Haydn Comley",
"license": "MIT",
"scripts": {
"dev": "cd src/example && yarn dev",
"build:example": "cd src/example && yarn build",
"serve": "firebase emulators:start",
"make": "yarn make:types && yarn make:lib:cjs && yarn make:lib:esm && yarn make:lib:browser",
"make:types": "tsc --project ./tsconfig.out.json",
"make:lib:cjs": "esbuild ./src/nice/index.ts --bundle --minify --outfile=out/index.cjs --format=cjs",
"make:lib:esm": "esbuild ./src/nice/index.ts --bundle --minify --outfile=out/index.js --format=esm --platform=node",
"make:lib:browser": "esbuild ./src/nice/index.ts --bundle --minify --outfile=out/index.mjs --format=iife --platform=browser",
"deploy": "yarn build:example && firebase deploy --only=hosting"
},
"files": [
"out",
"src/nice"
],
"devDependencies": {
"easy-theme": "1.0.71",
"esbuild": "0.20.2",
"sass": "1.72.0",
"typescript": "^5.2.2",
"vite": "^5.1.6"
}
}