forked from dotnet/try
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.21 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.21 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
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "@microsoft/trydotnet.js",
"version": "0.1.1",
"description": "client api",
"main": "dist/trydotnet.js",
"module": "dist/trydotnet.es.js",
"files": [
"dist"
],
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "29.0.2",
"@rollup/plugin-node-resolve": "16.0.3",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.2",
"@types/chai-subset": "^1.3.6",
"@types/jsdom": "^28.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.0",
"chai": "6.2.2",
"chai-as-promised": "8.0.2",
"jsdom": "29.0.1",
"lodash": "4.17.23",
"mkdirp": "3.0.1",
"mocha": "11.7.5",
"mocha-multi-reporters": "1.5.1",
"mocha-trx-reporter": "3.3.1",
"requirejs": "^2.3.8",
"rollup": "4.60.0",
"rollup-plugin-typescript2": "0.36.0",
"source-map-loader": "5.0.0",
"source-map-support": "0.5.21",
"ts-mocha": "11.1.0",
"ts-node": "10.9.2",
"typescript": "^5.9.3",
"uglify-js": "3.19.3"
},
"scripts": {
"build": "npm run rollup",
"release": "npm run rollup && npm run createDir && npm run minify",
"createDir": "npx mkdirp ../Microsoft.TryDotNet/wwwroot/api",
"minify": "uglifyjs dist/trydotnet.js --source-map --output ../Microsoft.TryDotNet/wwwroot/api/trydotnet.min.js",
"buildProd": "npm run release && uglifyjs dist/trydotnet.js --source-map --output ../Microsoft.TryDotNet/wwwroot/api/trydotnet.min.js",
"watch": "rollup -cw",
"rollup": "rollup -c",
"tdd": "npm test -- --watch",
"test": "mocha test/**/*.specs.ts",
"ciTest": "npm run ciCreateDir && npm test -- --reporter mocha-multi-reporters --reporter-options configFile=testConfig.json",
"ciCreateDir": "npx mkdirp ../../artifacts/TestResults/Release",
"ciMinify": "uglifyjs dist/trydotnet.js --source-map"
},
"dependencies": {
"@microsoft/polyglot-notebooks": "1.0.715901",
"es6-promise": "4.2.8",
"rxjs": "7.8.2",
"uuid": "^13.0.0"
},
"mocha": {
"ui": "bdd",
"timeout": "10000",
"require": [
"source-map-support/register",
"ts-node/register"
],
"watch-files": [
"test/**/*.specs.ts"
]
}
}