-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
55 lines (55 loc) · 2.35 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
{
"name": "mr-observer",
"version": "1.1.1",
"description": "An observer is a wrapper over JSON data, that provides an interface to know when data is changed, with a focus on performance and memory efficiency. For data-centric design, this provides a modular and robust architecture for applications with various data-dependent parts: ui, real-time render, history undo/redo, real-time collaboration, and more. This pattern has been used for years in PlayCanvas Editor providing fast iteration and ease of development in a complex environment.",
"type": "module",
"main": "src/index.js",
"browser": "dist/mr-observer.es5.min.js",
"module": "dist/mr-observer.min.js",
"scripts": {
"docs": "jsdoc2md --partial ./other/tmpl/*.hbs --files ./src/index.js ./node_modules/mr-eventemitter/src/index.js > ./API.md",
"babel:es5": "babel --config-file ./other/babel-es5.config.json --out-file ./dist/mr-observer.es5.min.js ./src/index.js",
"babel": "babel --config-file ./other/babel.config.json --out-file ./dist/mr-observer.min.js ./src/index.js",
"terser:es5": "terser --compress --mangle --output ./dist/mr-observer.es5.min.js -- ./dist/mr-observer.es5.min.js",
"terser": "terser --compress --mangle --output ./dist/mr-observer.min.js -- ./dist/mr-observer.min.js",
"build": "npm run babel:es5 && npm run babel && npm run terser:es5 && npm run terser && npm run docs",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/Maksims/mr-Observer.git"
},
"keywords": [
"observer",
"object proxy",
"data proxy",
"json proxy",
"data centric"
],
"author": {
"name": "Maksims Mihejevs",
"email": "[email protected]",
"url": "https://twitter.com/mrmaxm"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/Maksims"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Maksims/mr-Observer/issues"
},
"homepage": "https://github.com/Maksims/mr-Observer#readme",
"dependencies": {
"mr-eventemitter": "^0.1.4"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"babel-plugin-remove-import-export": "^1.1.1",
"jsdoc-to-markdown": "^6.0.1",
"terser": "^5.5.1"
}
}