forked from Sage/jsurl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.57 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
{
"name": "@bedrock-foundation/jsurl",
"description": "URL friendly JSON-like formatting and parsing",
"version": "1.0.1",
"license": "MIT",
"homepage": "http://github.com/bedrock-foundation/jsurl",
"author": "Sam Hogan",
"private": false,
"publishConfig": {
"access": "public"
},
"type": "module",
"sideEffects": false,
"main": "lib/cjs/index.js",
"module": "lib/esm/index.mjs",
"types": "lib/types/index.d.ts",
"files": [
"lib",
"src",
"LICENSE"
],
"directories": {
"test": "test"
},
"exports": {
"import": "./lib/esm/index.mjs",
"require": "./lib/cjs/index.js"
},
"scripts": {
"watch": "npm run build",
"dev": "npm-watch watch",
"clean": "rm -rf lib/*",
"build": "tsc -p tsconfig.json && tsc-esm -p tsconfig.json && tsc -p tsconfig.cjs.json",
"postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > lib/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > lib/esm/package.json"
},
"watch": {
"watch": {
"patterns": [
"src"
],
"quiet": false,
"legacyWatch": true,
"extensions": "ts, js, tsx"
}
},
"repository": {
"type": "git",
"url": "git://github.com/bedrock-foundation/jsurl.git"
},
"devDependencies": {
"@types/chai": "^4.2.3",
"@types/fs-extra": "^8.1.2",
"@types/jsurl": "^1.2.30",
"@types/long": "^3.0.32",
"@types/mocha": "^2.2.44",
"@types/node": "^17.0.34",
"npm-watch": "^0.11.0",
"ts-loader": "^5.4.5",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.4",
"typescript-esm": "^2.0.0"
}
}