forked from EvanBacon/text-decoder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.7 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.7 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
{
"name": "@ably/text-decoder",
"version": "0.0.1",
"description": "A light-weight TextDecoder polyfill for React Native Hermes that only supports utf-8",
"type": "module",
"types": "./build/index.d.ts",
"main": "./build/index.cjs",
"module": "./build/index.js",
"exports": {
".": {
"import": {
"types": "./build/index.d.ts",
"default": "./build/index.js"
},
"require": {
"types": "./build/index.d.cts",
"default": "./build/index.cjs"
}
}
},
"sideEffects": false,
"scripts": {
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json && mv build/cjs/index.js build/index.cjs && rm -rf build/cjs",
"build:types": "tsc --project tsconfig.types.json && cp build/types/index.d.ts build/index.d.ts && cp build/types/index.d.ts build/index.d.cts && rm -rf build/types",
"clean": "rm -rf build",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run build"
},
"files": [
"build",
"src",
"!**/__tests__"
],
"repository": {
"type": "git",
"url": "https://github.com/ably-forks/text-decoder.git"
},
"keywords": [
"text-decoder",
"utf-8",
"polyfill",
"react-native"
],
"author": "Ably",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.52.0",
"eslint": "^9.39.2",
"typescript": "^5.3.0",
"vitest": "^4.0.16"
}
}