-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1.13 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
{
"name": "yeet",
"description": "A teeny-weeny frontend framework for creating websites",
"version": "1.0.0-1",
"main": "dist/server.cjs.js",
"browser": "dist/browser.cjs.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
"import": "./index.js",
"node": "./server.js",
"default": "./index.js"
},
"scripts": {
"test": "uvu test/server && umu test/browser && standard",
"build": "npm run build:server && npm run build:browser && echo '{\"type\":\"commonjs\"}' > dist/package.json",
"build:server": "rollup --no-esModule --format=cjs --file=dist/server.cjs.js server.js",
"build:browser": "rollup --no-esModule --format=cjs --file=dist/browser.cjs.js index.js",
"compile": "npx -p typescript tsc *.js --declaration --allowJs --emitDeclarationOnly --outFile dist/index.d.ts",
"prepublishOnly": "npm run build && npm run compile"
},
"files": [
"index.js",
"server.js",
"dist"
],
"author": "Carl Törnqvist <carl@tornqv.ist>",
"license": "MIT",
"devDependencies": {
"rollup": "^2.40.0",
"standard": "^16.0.3",
"umu": "^0.0.2",
"uvu": "^0.5.1"
}
}