-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 4.01 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "modelico",
"version": "24.1.0",
"description": "Universal library for serialisable immutable models",
"main": "dist/modelico.js",
"jsnext:main": "dist/modelico.es2015.js",
"scripts": {
"docs-prepare": "gitbook install",
"docs-watch": "npm run docs-prepare && gitbook serve",
"docs-pdf": "npm run docs-prepare && gitbook pdf ./ ./dist/modelico.pdf",
"flow": "flow",
"eslint": "eslint src/ test/",
"fix": "npm run prettier && npm run eslint",
"mocha": "mocha test/index.js",
"mochab": "mocha --bail test/index.js",
"prenyc": "rm -rf coverage",
"nyc": "nyc npm run mocha",
"isparta": "isparta cover --report text --report text-summary --report html mocha test/index.next.js",
"bt": "npm run build && npm run nyc",
"test": "npm run fix && npm run flow && npm run nyc",
"test-browsers": "./scripts/browser_tester.sh",
"codecov": "codecov -f ./coverage/coverage-final.json",
"send-coverage": "./scripts/coverage_reporter.sh",
"prettier-base": "prettier --write --print-width 80 --no-semi --single-quote --bracket-spacing false --parser flow",
"prettier": "npm run prettier-base -- \"{src,test,devtools}/**/*.js\"",
"prettier-dist": "npm run prettier-base -- \"dist/!(*.min).js\"",
"prebuild": "npm run fix && npm run flow && rm -rf dist && mkdir dist",
"build": "npm run build-src && npm run build-browser-spec && npm run build-formatter",
"build-src": "npm run build-src-dev && npm run build-src-min",
"build-src-dev": "rollup -c && rollup -c rollup.es2015.config.js",
"build-src-min": "uglifyjs dist/modelico.js -c -m > dist/modelico.min.js && babili dist/modelico.es2015.js > dist/modelico.es2015.min.js",
"build-formatter": "rollup -c ./devtools/rollup.config.js",
"build-browser-spec": "rollup -c ./test/rollup.config.js && rollup -c ./test/rollup.es2015.config.js",
"watch": "rollup -c -w",
"watch-spec": "rollup -c ./test/rollup.config.js -w",
"version": "npm run build && npm run prettier-dist && git add -A dist"
},
"nyc": {
"report-dir": "./coverage",
"include": [
"dist/modelico.js"
],
"reporter": [
"html",
"json",
"text",
"text-summary"
]
},
"repository": {
"type": "git",
"url": "https://github.com/javiercejudo/modelico.git"
},
"keywords": [
"model",
"immutable",
"reviver",
"objects",
"serialization",
"json",
"stringify",
"parse"
],
"author": "Javier Cejudo <[email protected]> (http://www.javiercejudo.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/javiercejudo/modelico/issues"
},
"homepage": "https://github.com/javiercejudo/modelico#readme",
"devDependencies": {
"asciitree": "^1.0.2",
"babel-eslint": "^7.2.2",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-polyfill": "^6.20.0",
"babel-preset-env": "^1.2.1",
"babili": "^0.1.2",
"codecov": "^2.0.1",
"eslint": "^4.2.0",
"eslint-config-prettier": "^2.1.1",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-flowtype": "^2.30.4",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^5.0.0",
"eslint-plugin-prettier": "^2.0.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"flow-bin": "^0.51.1",
"foreman": "^2.0.0",
"gitbook-cli": "^2.3.0",
"karma": "^1.7.0",
"karma-chrome-launcher": "^2.1.1",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.1",
"karma-sauce-launcher": "^1.0.0",
"mocha": "^3.3.0",
"nyc": "^11.1.0",
"phantomjs-prebuilt": "^2.1.14",
"prettier": "^1.4.4",
"rollup": "^0.45.2",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-json": "^2.1.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-watch": "^4.0.0",
"should": "^11.1.2",
"uglify-js": "^3.0.11"
},
"dependencies": {
"ajv": "^5.1.5",
"is-my-json-valid": "^2.16.0",
"tv4": "^1.3.0"
}
}