This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
119 lines (119 loc) · 4.31 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
{
"name": "near-studio",
"version": "0.0.1",
"description": "Learn, Teach, Work and Play in the WebAssembly Studio",
"main": "index.js",
"scripts": {
"build": "yarn templates && webpack --mode production",
"build-prod": "yarn build && node bin/update-config.js && mkdir -p build/ && cp -R config.json index.html favicon.ico lib style dist img fonts misc build/",
"build-watch": "webpack --watch --mode development",
"dev-server": "webpack-dev-server -d --http --port 28443",
"start": "yarn dev-server",
"test": "yarn jest && yarn lint && yarn test:bundle",
"test:ci": "yarn jest",
"test:bundle": "yarn build && node bin/check-bundle-size.js",
"test:templates": "./bin/test-templates.sh",
"jest": "jest --maxWorkers=2",
"coverage": "jest --maxWorkers=2 --coverage",
"clean": "rm -r dist/*",
"lint": "tslint -p ./tsconfig.json -t codeFrame && tslint -p ./tsconfig.test.json -t codeFrame && eslint templates/",
"fix": "tslint -p ./tsconfig.json -t codeFrame --fix && tslint -p ./tsconfig.test.json -t codeFrame --fix && eslint templates/ --fix",
"templates": "yarn templates:update-templates && yarn templates:build-templates && yarn templates:build-arc-templates && yarn templates:build-template-docs",
"templates:update-templates": "./update_templates.sh",
"templates:build-templates": "node ./bin/bundle-templates.js templates dist/templates",
"templates:build-arc-templates": "node ./bin/bundle-templates.js misc/arc-templates dist/arc-templates",
"templates:build-template-docs": "mdinject -w --root=./templates/. --docsroot=./templates/. --sourceext=\".ts|.js|.html\" --targetext=\".md\"",
"analyse": "mkdir -p ./stats && webpack --profile --json > ./stats/stats.json && webpack-bundle-analyzer ./stats/stats.json ./dist -r stats/index.html"
},
"jest": {
"setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js",
"setupFiles": [
"<rootDir>/test-shim.js",
"<rootDir>/test-setup.js"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/test-preprocessor.js"
},
"testMatch": [
"**/tests/**/**/**.spec.(ts|tsx|js)"
],
"collectCoverageFrom": [
"src/**/**.(ts|tsx|js)",
"!src/**/**.d.ts"
],
"testURL": "https://studio.nearprotocol.com/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nearprotocol/NEARStudio.git"
},
"author": "Mozilla Foundation",
"license": "MIT",
"bugs": {
"url": "https://github.com/wasdk/WebAssemblyStudio/issues"
},
"homepage": "https://github.com/wasdk/WebAssemblyStudio",
"dependencies": {
"@types/flux": "^3.1.8",
"@types/jszip": "^3.1.4",
"@types/minimatch": "^3.0.3",
"@types/mousetrap": "^1.6.0",
"@types/pako": "^1.0.0",
"@types/react-modal": "^3.2.1",
"@types/xterm": "^3.0.0",
"assemblyscript-json": "^0.2.0",
"bignum": "github:MaxGraey/bignum.wasm",
"cassowary": "0.0.2",
"flux": "^3.1.3",
"jszip": "^3.1.5",
"markdown-snippet-injector": "pndpo/markdown-snippet-injector",
"minimatch": "^3.0.4",
"monaco-editor": "^0.14.3",
"mousetrap": "^1.6.2",
"near-bindgen-as": "^1.2.0",
"near-runtime-ts": "^0.5.2",
"nearlib": "^0.20.0",
"pako": "^1.0.10",
"raven-js": "^3.27.0",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-icons": "^3.7.0",
"react-modal": "^3.6.1",
"request": "^2.88.0",
"tar-js": "^0.3.0",
"tslint-react": "^4.1.0"
},
"devDependencies": {
"@types/base64-js": "^1.2.5",
"@types/enzyme": "^3.1.15",
"@types/jest": "^24.0.19",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.0.11",
"base64-js": "^1.3.0",
"css-loader": "^3.2.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"eslint": "^6.7.2",
"fs-extra": "^8.1.0",
"jest": "^24.9.0",
"jest-enzyme": "^7.1.1",
"monaco-editor-webpack-plugin": "^1.7.0",
"react-test-renderer": "^16.6.3",
"source-map-loader": "^0.2.4",
"style-loader": "^1.0.0",
"ts-loader": "^6.2.1",
"tslint": "^5.11.0",
"typescript": "^3.6.4",
"wait-until-promise": "^1.0.0",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.4",
"webpack-dev-server": "^3.7.1",
"webpackbar": "^4.0.0"
}
}