-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.14 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
{
"name": "morpho",
"version": "0.3.0",
"description": "A tiny CSS-in-JS library using Javascript objects.",
"author": "Brian Teague",
"license": "MIT",
"main": "src/index.js",
"module": "src/index.js",
"unpkg": "src/index.js",
"browser": "src/index.js",
"scripts": {
"test": "nyc -i esm -r lcov testmatrix test/morpho.test.js && nyc report",
"build": "npm run bundle && npm run minify",
"bundle": "cross-env-shell DIR=$PKG PKG=$npm_package_name rollup -i ${DIR}$npm_package_module -o ${DIR}dist/$PKG.js --no-esModule -mf iife -n $PKG",
"minify": "cross-env-shell DIR=$PKG PKG=$npm_package_name terser ${DIR}dist/$PKG.js -o ${DIR}dist/$PKG.js -mc --source-map includeSources,url=$PKG.js.map"
},
"files": [
"src",
"dist"
],
"devDependencies": {
"cross-env": "^7.0.2",
"esm": "^3.2.25",
"hyperapp": "^2.0.4",
"jsdom": "^16.2.1",
"jsdom-global": "^3.0.2",
"nyc": "^15.0.0",
"preact": "^10.3.4",
"rollup": "^2.0.6",
"terser": "^4.6.6",
"testmatrix": "^0.1.2"
},
"keywords": [
"morpho",
"css-in-js",
"css",
"hyperapp",
"react"
],
"dependencies": {}
}