-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
executable file
·35 lines (35 loc) · 1.4 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
{
"name": "infinity-set",
"repository": "github:fabiospampinato/infinity-set",
"description": "A Set that doesn't throw if you put more than 16 million items in it. Because that's what the native `Set` object does for some reason.",
"license": "MIT",
"version": "2.0.1",
"type": "module",
"main": "dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "tsex clean",
"compile": "tsex compile",
"compile:watch": "tsex compile --watch",
"test:native": "node ./test/native/index.js",
"test:test262:init": "git clone https://github.com/tc39/test262.git ./test/test262",
"test:test262:prelude": "{ echo 'var module = {}, exports = {};' && esbuild dist/index.js --bundle --format=cjs --target=es2016 } > ./test/test262/prelude.js",
"test:test262:execute": "test262-harness -t 8 --prelude ./test/test262/prelude.js ./test/test262/test/built-ins/Set/*.js ./test/test262/test/built-ins/SetIteratorPrototype/*.js",
"test:test262": "npm run test:test262:prelude && npm run test:test262:execute",
"test": "npm run test:native && npm run test:test262",
"prepublishOnly": "npm run clean && npm run compile && npm run test"
},
"keywords": [
"set",
"infinite",
"infinity",
"limitless"
],
"devDependencies": {
"fava": "^0.3.4",
"test262-harness": "^10.0.0",
"tsex": "^4.0.2",
"typescript": "^5.7.3"
}
}