forked from AssemblyScript/assemblyscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 5.64 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "assemblyscript",
"description": "Definitely not a TypeScript to WebAssembly compiler.",
"keywords": [
"typescript",
"webassembly",
"compiler",
"assemblyscript",
"wasm"
],
"version": "0.0.0",
"author": "Daniel Wirtz <[email protected]>",
"contributors": [],
"license": "Apache-2.0",
"homepage": "https://assemblyscript.org",
"repository": {
"type": "git",
"url": "https://github.com/AssemblyScript/assemblyscript.git"
},
"bugs": {
"url": "https://github.com/AssemblyScript/assemblyscript/issues"
},
"dependencies": {
"binaryen": "98.0.0-nightly.20210106",
"long": "^4.0.0",
"source-map-support": "^0.5.19",
"ts-node": "^6.2.0"
},
"devDependencies": {
"@types/node": "^14.14.12",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"diff": "^5.0.0",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"physical-cpu-count": "^2.0.0",
"source-map-support": "^0.5.19",
"ts-loader": "^8.0.12",
"ts-node": "^6.2.0",
"typescript": "^4.1.2",
"webpack": "^5.10.0",
"webpack-cli": "^4.2.0"
},
"type": "commonjs",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": "./index.js",
"./std/portable": "./std/portable/index.js",
"./lib/loader": {
"import": "./lib/loader/index.js",
"require": "./lib/loader/umd/index.js"
},
"./lib/rtrace": {
"import": "./lib/rtrace/index.js",
"require": "./lib/rtrace/umd/index.js"
},
"./*": "./*.js",
"./cli/asc": "./cli/asc.js",
"./cli/transform": "./cli/transform.js",
"./cli/util/options": "./cli/util/options.js",
"./dist/assemblyscript": "./dist/assemblyscript.js",
"./dist/asc": "./dist/asc.js"
},
"bin": {
"asc": "bin/asc",
"asinit": "bin/asinit"
},
"scripts": {
"build": "npm run build:bundle && npm run build:dts && npm run build:sdk",
"build:bundle": "webpack --config webpack.config.js",
"build:dts": "node scripts/build-dts && tsc --noEmit --target ESNEXT --module commonjs --experimentalDecorators tests/require/index-release",
"build:sdk": "node scripts/build-sdk",
"clean": "node scripts/clean",
"check": "npm run check:config && npm run check:require && npm run check:lint",
"check:config": "tsc --noEmit -p src --diagnostics --listFiles",
"check:require": "tsc --noEmit --target ESNEXT --module commonjs --experimentalDecorators tests/require/index",
"check:lint": "eslint --max-warnings 0 --ext js . && eslint --max-warnings 0 --ext ts .",
"test": "npm run test:parser && npm run test:compiler && npm run test:packages && npm run test:extension && npm run test:asconfig",
"test:parser": "node tests/parser",
"test:compiler": "node --experimental-wasi-unstable-preview1 tests/compiler",
"test:packages": "cd tests/packages && npm run test",
"test:extension": "cd tests/extension && npm run test",
"test:asconfig": "cd tests/asconfig && npm run test",
"make": "npm run clean && npm test && npm run build && npm test",
"all": "npm run check && npm run make",
"docs": "typedoc --tsconfig tsconfig-docs.json --mode modules --name \"AssemblyScript Compiler API\" --out ./docs/api --ignoreCompilerErrors --excludeNotExported --excludePrivate --excludeExternals --exclude **/std/** --includeDeclarations --readme src/README.md",
"prepublishOnly": "node scripts/prepublish",
"postpublish": "node scripts/postpublish",
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized",
"asbuild:untouched": "node bin/asc --config src/asconfig.json --target untouched",
"asbuild:optimized": "node bin/asc --config src/asconfig.json --target optimized",
"asbuild:rtraced": "node bin/asc --config src/asconfig.json --target rtraced",
"bootstrap": "npm run bootstrap:untouched && npm run bootstrap:optimized",
"bootstrap:untouched": "node bin/asc --config src/asconfig.json --target untouched && node bin/asc --config src/asconfig.json --target untouched-bootstrap --wasm out/assemblyscript.untouched.wasm && node bin/asc --config src/asconfig.json --target untouched-bootstrap --wasm out/assemblyscript.untouched-bootstrap.wasm && git --no-pager diff --no-index out/assemblyscript.untouched.wast out/assemblyscript.untouched-bootstrap.wast",
"bootstrap:optimized": "node bin/asc --config src/asconfig.json --target optimized && node bin/asc --config src/asconfig.json --target optimized-bootstrap --wasm out/assemblyscript.optimized.wasm && node bin/asc --config src/asconfig.json --target optimized-bootstrap --wasm out/assemblyscript.optimized-bootstrap.wasm && git --no-pager diff --no-index out/assemblyscript.optimized.wast out/assemblyscript.optimized-bootstrap.wast",
"bootstrap:rtraced": "node bin/asc --config src/asconfig.json --target rtraced && node bin/asc --config src/asconfig.json --target rtraced --wasm out/assemblyscript.rtraced.wasm",
"astest": "ts-node tests/bootstrap"
},
"releaseFiles": [
"lib/loader/index.d.ts",
"lib/loader/index.js",
"lib/loader/package.json",
"lib/loader/umd/index.d.ts",
"lib/loader/umd/index.js",
"lib/loader/umd/package.json",
"lib/loader/README.md",
"lib/rtrace/index.d.ts",
"lib/rtrace/index.js",
"lib/rtrace/package.json",
"lib/rtrace/umd/index.d.ts",
"lib/rtrace/umd/index.js",
"lib/rtrace/umd/package.json",
"lib/rtrace/README.md",
"bin/",
"cli/",
"dist/",
"index.d.ts",
"index.js",
"LICENSE",
"NOTICE",
"package.json",
"package-lock.json",
"README.md",
"std/",
"tsconfig-base.json"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/assemblyscript"
}
}