-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
81 lines (81 loc) · 2.57 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
{
"name": "astravel",
"version": "0.6.1",
"description": "ESTree-compliant AST walker and modifier.",
"main": "./dist/require/astravel.js",
"module": "./dist/module/astravel.js",
"exports": {
"import": "./dist/module/astravel.js",
"require": "./dist/require/astravel.js"
},
"scripts": {
"prepare": "rm -rf dist/*; babel --config-file ./babel.config.js --no-comments --source-maps --out-dir dist/require --ignore \"**/tests/**/*.js\" src; cross-env BABEL_MODE=module babel --config-file ./babel.config.js --no-comments --source-maps --out-dir dist/module --ignore \"**/tests/**/*.js\" src",
"dev": "ava --watch",
"dev:update": "ava --watch --update-snapshots",
"test": "npm run eslint && npm run prettier:check && npm run test:coverage",
"test:coverage": "c8 --reporter=html --reporter=text --reporter=lcov --include='src/*.js' --exclude='src/tests/**/*.js' ava",
"eslint": "eslint src/",
"prettier": "prettier --write \"src/*.js\" \"src/tests/*.js\" \"src/tests/helpers/*.js\"",
"prettier:check": "prettier --list-different \"src/*.js\" \"src/tests/*.js\" \"src/tests/helpers/*.js\"",
"prepush": "npm test",
"release": "standard-version",
"deploy": "git push --follow-tags origin master && npm publish",
"release:deploy": "npm run release && npm run deploy"
},
"keywords": [
"ast",
"ast walker",
"ast traveler",
"ast modifier",
"estree",
"astring"
],
"repository": {
"type": "git",
"url": "https://github.com/davidbonnet/astravel.git"
},
"author": "David Bonnet <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/runtime": "^7.11.2",
"astring": "^1.4.3",
"ava": "^3.12.1",
"babel-plugin-module-extension-resolver": "^1.0.0-rc.2",
"c8": "^7.3.0",
"codecov": "^3.7.2",
"cross-env": "^7.0.2",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"esm": "^3.2.25",
"exorcist": "^1.0.1",
"husky": "^4.3.0",
"meriyah": "^2.1.1",
"normalize-newline": "^3.0.0",
"prettier": "^2.1.2",
"standard-version": "^4.4.0"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 80,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"ava": {
"files": [
"src/**/tests/*.js"
],
"require": [
"esm"
]
},
"esm": "auto"
}