-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.08 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
43
{
"name": "idx-db",
"version": "0.0.22",
"description": "a wrapper for indexedDB",
"author": "[email protected]",
"license": "MIT",
"type": "module",
"main": "./cjs/index.js",
"module": "./es/index.mjs",
"sideEffects": false,
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./es/index.mjs"
},
"./es/": "./es/",
"./cjs/": "./cjs/"
},
"files": [
"cjs",
"es"
],
"devDependencies": {
"agadoo": "^2.0.0",
"npm-run-all": "latest",
"rollup": "^2.6.1",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.3",
"rollup-plugin-size-snapshot": "^0.11.0",
"rollup-plugin-visualizer": "^4.0.4",
"trash-cli": "^3.0.0"
},
"scripts": {
"clean": "trash ./es ./cjs",
"build": "yarn run clean && rollup -c",
"build:watch": "rollup -c -w ",
"testSite": "cd ./test-site && yarn && yarn dev",
"dev": "run-s clean && run-p 'build:watch' 'testSite'",
"test": "node test/test.js",
"pretest": "yarn run build",
"prepublishOnly": "yarn run build && yarn agadoo"
}
}