-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.59 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "jaysn",
"version": "0.2.0",
"description": "Lightweight JSON database for Node, Hybrid, and browser.",
"homepage": "https://eriestrisnadi.github.io/jaysn/",
"repository": "eriestrisnadi/jaysn",
"author": "Eries Trisnadi <[email protected]> (https://eriestrisnadi.github.io)",
"license": "MIT",
"keywords": [],
"main": "dist/jaysn.js",
"module": "dist/jaysn.es.js",
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb-base"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"dependencies": {
"immutable": "~4.0.0-rc.9",
"node-localstorage": "^2.1.6",
"superstruct": "^0.4.5"
},
"devDependencies": {
"babel-eslint": "^8.1.2",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"eslint": "^4.12.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.4.0",
"mocha": "^4.0.1",
"mustache": "^2.3.0",
"npm-run-all": "^4.1.2",
"nyc": "^11.3.0",
"path": "^0.12.7",
"prettier": "2.1.2",
"rollup": "^0.52.0",
"rollup-plugin-buble": "^0.18.0",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-json": "^2.3.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-strip-banner": "^0.2.0",
"rollup-plugin-uglify": "^2.0.1",
"shx": "^0.2.2",
"uglify-es": "^3.2.0",
"uglify-save-license": "^0.4.1"
},
"scripts": {
"build": "run-s format build:*",
"build:dist": "run-s clean:dist bundle format:dist",
"build:docs": "run-s clean:docs mustache",
"bundle": "run-s bundle:*",
"bundle:cjs": "run-s \"rollup -c tools/build-cjs.js\"",
"bundle:es": "run-s \"rollup -c tools/build-es.js\"",
"format": "run-s \"lint --fix\"",
"format:dist": "prettier --write \"dist/**/{jaysn.es.js,jaysn.js}\"",
"clean:dist": "run-s \"rm -rf dist\"",
"clean:docs": "run-s \"rm -rf docs\" \"mkdir docs\"",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint src test tools",
"mkdir": "shx mkdir",
"mustache": "node tools/build-docs && shx cp -r resources/css docs && mustache -p resources/partials/menu.mustache -p resources/partials/content.mustache resources/docs.json resources/docs.mustache > docs/index.html",
"prepublish": "run-s build",
"rm": "shx rm",
"rollup": "rollup",
"test": "run-s -l lint \"test:mocha {@}\" test:cover --",
"test:mocha": "mocha --require babel-register",
"test:cover": "nyc --require babel-register mocha --timeout=3000"
}
}