-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.88 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.88 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
{
"name": "@10xjs/polyfill-analyzer",
"version": "0.1.0",
"description": "Analyze a javascript file to determine which polyfills are necessary to run it. Designed for use with financial-times/polyfill-library.",
"author": "Neal Granger <neal@nealg.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/10xjs/polyfill-analyzer.git"
},
"bugs": {
"url": "https://github.com/10xjs/polyfill-analyzer/issues"
},
"homepage": "https://github.com/10xjs/polyfill-analyzer#readme",
"files": [
"dist"
],
"main": "dist/analyze",
"types": "dist/analyze.d.ts",
"scripts": {
"build": "tsc -p build.tsconfig.json",
"generate": "node -e \"require('polyfill-library').listAllPolyfills().then((list)=>fs.writeFileSync('./src/polyfills.ts','// GENERATED FILE. DO NOT EDIT.\\n// Exported from polyfill-library@'+require('polyfill-library/package.json').version+'\\nexport default '+JSON.stringify(list,0,2)+';'))\"",
"test:lint": "npx eslint . --ext ts",
"test:spec": "npx jest --runInBand --coverage=${SPEC_COVERAGE:-$CI}",
"test": "npm run test:lint --silent&& npm run test:spec --silent"
},
"devDependencies": {
"@types/jest": "^25.1.4 ",
"@types/node": "^13.9.0",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^25.1.0",
"jest-circus": "^25.1.0",
"prettier": "^1.19.1",
"ts-jest": "^25.2.1"
},
"dependencies": {
"ts-morph": "^7.0.0",
"typescript": "^3.8.3"
},
"jest": {
"moduleNameMapper": {
"^(/.*)$": "<rootDir>/src$1"
},
"testURL": "http://localhost/",
"testMatch": [
"<rootDir>/src/**/?(*.)test.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"globals": {
"ts-jest": {
"diagnostics": false
}
}
}
}