-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
100 lines (100 loc) · 3.21 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
{
"name": "@petamoriken/float16",
"version": "3.8.7",
"description": "IEEE 754 half-precision floating-point for JavaScript",
"keywords": [
"float16",
"binary16",
"FP16",
"half-precision",
"ieee754",
"Float16Array",
"TypedArray",
"DataView",
"getFloat16",
"setFloat16",
"f16round",
"ponyfill",
"shim"
],
"homepage": "https://github.com/petamoriken/float16",
"bugs": {
"url": "https://github.com/petamoriken/float16/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/petamoriken/float16.git"
},
"license": "MIT",
"author": "Kenta Moriuchi <moriken@kimamass.com> (https://moriken.dev)",
"sideEffects": false,
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./src/index.mjs",
"types": "./index.d.ts"
},
"./inspect": {
"require": "./inspect/node.cjs",
"import": "./inspect/node.mjs"
}
},
"main": "./lib/index.cjs",
"browser": "./browser/float16.js",
"module": "./src/index.mjs",
"types": "index.d.ts",
"files": [
"src",
"lib",
"browser",
"inspect/node.mjs",
"inspect/node.cjs",
"index.d.ts"
],
"scripts": {
"build": "concurrently \"yarn:build:*\"",
"build:browser": "rollup -c",
"build:lib": "babel src -d lib --out-file-extension .cjs",
"clean": "rm -rf lib browser docs coverage .nyc_output",
"coverage": "nyc --reporter=lcov mocha test/*.js",
"docs": "mkdir -p docs && cp README.md docs/index.md && yarn run docs:test",
"docs:test": "mkdir -p docs/test && concurrently \"yarn:docs:test:*\"",
"docs:test:build": "cp test/*.js docs/test && tools/power",
"docs:test:copy": "cp browser/float16.js docs/test/float16.js && cp test/browser/*.html docs/test",
"docs:test:dependencies": "cp node_modules/mocha/mocha.js node_modules/mocha/mocha.css node_modules/power-assert/build/power-assert.js docs/test",
"lint": "concurrently \"yarn:lint:*\"",
"lint:eslint": "eslint src/**/*.mjs",
"lint:unused": "find-unused-exports --module-glob 'src/**/*.mjs'",
"prepublishOnly": "yarn run lint && yarn test",
"refresh": "yarn run clean && yarn run build && yarn run docs",
"setup-test-browser": "http-server docs/test -p 8000 > /dev/null 2>&1 &",
"test": "mocha test/*.js",
"test-browser": "nightwatch -e chrome,chrome_old,firefox,firefox_old,firefox_esr,safari,safari_old"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@types/nightwatch": "^2.3.32",
"babel-plugin-replace-import-extension": "^1.1.4",
"browserslist": "^4.24.2",
"concurrently": "^9.1.0",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^50.5.0",
"espower-cli": "^1.1.0",
"espower-loader": "^1.2.2",
"exorcist": "^2.0.0",
"find-unused-exports": "^7.1.1",
"http-server": "^14.1.1",
"mocha": "^10.8.2",
"nightwatch": "^3.9.0",
"nightwatch-saucelabs-endsauce": "^2.4.0",
"nyc": "^17.1.0",
"power-assert": "^1.4.2",
"rollup": "^4.27.3",
"rollup-plugin-cleanup": "^3.2.1",
"source-map-support": "^0.5.21"
},
"packageManager": "yarn@1.22.19"
}