52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "client-ts",
|
|
"version": "0.0.0",
|
|
"description": "Common dev-time dependencies for SignalR NPM packages. NOT FOR PUBLISHING",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "cd ./signalr && npm run build && cd ../signalr-protocol-msgpack && npm run build",
|
|
"test": "jest"
|
|
},
|
|
"author": "Microsoft",
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@types/jest": "^22.2.3",
|
|
"@types/node": "^8.5.2",
|
|
"@types/webpack": "^4.4.0",
|
|
"jest": "^22.4.3",
|
|
"rimraf": "^2.6.2",
|
|
"ts-jest": "^22.4.4",
|
|
"ts-loader": "^4.4.1",
|
|
"tslint": "^5.9.1",
|
|
"typescript": "^2.7.1",
|
|
"uglify-js": "^3.3.5",
|
|
"webpack": "^4.16.1",
|
|
"webpack-cli": "^3.0.3"
|
|
},
|
|
"jest": {
|
|
"globals": {
|
|
"ts-jest": {
|
|
"tsConfigFile": "./tsconfig.jest.json",
|
|
"skipBabel": true,
|
|
"enableTsDiagnostics": true
|
|
}
|
|
},
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"testEnvironment": "node",
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleNameMapper": {
|
|
"^@aspnet/signalr$": "<rootDir>/signalr/src/index.ts"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
]
|
|
}
|
|
}
|