-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.11 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 3.11 KB
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
{
"name": "@3m1/binary-object",
"version": "1.1.7",
"description": "Manage binary data with JavaScript strictly typed Object-oriented programming",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.js",
"repository": "git://github.com/emibcn/binary-object",
"homepage": "https://github.com/emibcn/binary-object",
"author": "github.com/emibcn",
"sideEffects": false,
"keywords": [
"ArrayBuffer",
"DataView",
"buffer",
"type",
"object",
"array",
"iterable",
"bytebuffer",
"binary",
"ObjectBuffer",
"BinaryObject"
],
"engines": {
"node": ">=10"
},
"bugs": {
"url": "https://github.com/emibcn/binary-object/issues"
},
"license": "GPL-3.0-or-later",
"private": false,
"scripts": {
"build": "microbundle --compress --format modern,cjs",
"clean": "rm -Rf dist/ coverage/ doc/",
"start": "microbundle watch --no-compress --format modern,cjs",
"prepare": "run-s build",
"test": "run-s test:unit test:build-test # test:lint",
"test:build": "run-s build",
"test:build-test": "run-s test-build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 run-s test-coverage",
"test:unit-html": "yarn test:unit --coverageReporters=html",
"test:watch": "run-s test-coverage",
"test-basic": "node $([ -z ${EXPOSE_GC} ] || echo '--expose-gc') node_modules/.bin/jest $([ -z ${CI} ] && echo '--watchAll') --verbose -w1 --color",
"test-src": "yarn test-basic src/index.test.js",
"test-expose": "cross-env EXPOSE_GC=1 yarn test-src",
"test-inspect": "cross-env NODE_OPTIONS='--inspect' yarn test-src",
"test-inspect-expose": "cross-env NODE_OPTIONS='--inspect' EXPOSE_GC=1 yarn test-src",
"test-coverage": "yarn test-src --coverage",
"test-coverage-html": "yarn test-coverage --coverageReporters=html",
"test-build-prepare": "cp src/*.test.* src/TextEncoder-polyfill.js dist/",
"test-dist": "yarn test-basic dist/index.test.js",
"test-build": "run-s build test-build-prepare test-dist clean",
"deploy": "CI=true np --color --preview",
"deploy-force": "CI=true np --color",
"mkdocs": "yarn jsdoc -c jsdoc.json src -d doc"
},
"jest": {
"transform": {
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": [
"babel-jest",
{
"configFile": "./babelrc.test.js"
}
]
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.14.5",
"babel-jest": "^29.0.3",
"cross-env": "^7.0.3",
"eslint": "^7.23.0",
"eslint-config-prettier": "^10.0.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"jest": "^29.0.3",
"jsdoc": "^4.0.0",
"microbundle": "^0.15.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"util": "^0.12.3"
},
"dependencies": {},
"files": [
"dist"
]
}