forked from playcanvas/observer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.02 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
{
"name": "@playcanvas/observer",
"version": "1.5.1",
"author": "PlayCanvas <[email protected]>",
"homepage": "https://github.com/playcanvas/observer#readme",
"description": "Generic implementation of the observer pattern",
"keywords": [
"playcanvas",
"observer"
],
"license": "MIT",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"type": "module",
"bugs": {
"url": "https://github.com/playcanvas/observer/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/playcanvas/observer.git"
},
"eslintConfig": {
"extends": "@playcanvas/eslint-config",
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
}
},
"files": [
"dist/index.cjs",
"dist/index.js",
"dist/index.mjs",
"types",
"LICENSE",
"package.json",
"README.md"
],
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@playcanvas/eslint-config": "^1.7.1",
"@rollup/plugin-babel": "^6.0.4",
"chai": "^5.1.1",
"eslint": "^8.56.0",
"mocha": "^10.4.0",
"publint": "^0.2.8",
"rollup": "^4.18.0",
"typedoc": "^0.25.13",
"typedoc-plugin-mdn-links": "^3.1.30",
"typedoc-plugin-missing-exports": "^2.3.0",
"typescript": "^5.4.5"
},
"scripts": {
"build": "rollup -c",
"build:esm": "rollup -c --environment target:esm",
"build:umd": "rollup -c --environment target:umd",
"build:types": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly",
"docs": "typedoc",
"lint": "eslint --ext .js src rollup.config.js",
"publint": "publint --level error",
"publish:observer": "npm run build && npm run build:types && npm publish",
"test": "mocha",
"test:types": "tsc --pretty false types/index.d.ts"
}
}