-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 1.97 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
{
"name": "babel-plugin-transform-nej-to-commonjs",
"version": "0.0.5",
"description": "A babel plugin used to transform code using NEJ module system to CommonJS module system",
"main": "./dist/index.js",
"scripts": {
"dev:postinstall": "bower install",
"pre-commit": "npm run build && npm run test && npm run test:fixtures",
"patch:publish": "npm version patch && npm publish",
"test": "jest",
"build": "del-cli ./dist && tsc",
"test:fixtures": "del-cli ./fixtures/dist && babel ./fixtures/src --out-dir ./fixtures/dist/src",
"lint": "prettier ./src/**/**/*.ts --write && tslint -p ./tsconfig.json --fix"
},
"keywords": [
"babel",
"plugin",
"nej",
"commonjs"
],
"author": "Andy Zhou",
"license": "MIT",
"devDependencies": {
"@types/babel-core": "^6.25.2",
"@types/babel-traverse": "^6.25.2",
"@types/babel-types": "^6.25.1",
"@types/chai": "^4.0.4",
"@types/jest": "^20.0.8",
"@types/lodash": "^4.14.74",
"babel": "^6.23.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-plugin-tester": "^4.0.0",
"babel-traverse": "^6.26.0",
"chai": "^4.1.2",
"del-cli": "^1.1.0",
"jest": "^21.0.2",
"prettier": "^1.8.1",
"ts-jest": "^21.0.0",
"tslint": "^5.7.0",
"typescript": "^2.5.2"
},
"dependencies": {
"babel-types": "^6.26.0",
"lodash": "^4.17.4"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{ts}",
"!**/__tests__/**",
"!**/node_modules/**"
],
"verbose": true,
"moduleDirectories": [
"node_modules"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "/__tests__/.*\\.spec\\.(ts)$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"parser": "typescript"
}
}