-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
51 lines (51 loc) · 1.48 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
{
"name": "micro-observer",
"version": "0.0.20",
"description": "Utilizes ES6 Proxies to easily observe and validate changes on nested objects.",
"main": "dist/observer.js",
"types": "dist/observer.d.ts",
"files": [
"dist"
],
"scripts": {
"prepend-browser-compatibility-code": "replace-in-file \"Object.defineProperty(exports,\" \"if (typeof exports === \\\"undefined\\\"){var exports = window;} Object.defineProperty(exports,\" dist/observer.js",
"minify": "npx google-closure-compiler --js=dist/observer.js --js_output_file=dist/observer.min.js",
"build": "tsc && npm run prepend-browser-compatibility-code && npm run minify",
"lint": "eslint src/**/*.ts",
"test": "nyc mocha --recursive -r ts-node/register test/**/*.test.*"
},
"nyc": {
"extension": [
".ts"
],
"include": [
"./src/**/*.ts"
],
"reporter": [
"html",
"lcov"
],
"all": true
},
"author": "Tanner Nielsen",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.11",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"eslint": "^5.9.0",
"google-closure-compiler": "^20190121.0.0",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"replace-in-file": "^3.4.3",
"ts-node": "^7.0.1",
"typescript": "^3.2.1",
"typescript-eslint-parser": "^18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/tannerntannern/micro-observer.git"
}
}