-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.43 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.43 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
{
"name": "modify-code",
"version": "2.1.4",
"description": "Modify JavaScript code, generate source map for the modification.",
"main": "index.js",
"module": "esm.mjs",
"exports": {
"import": "./esm.mjs",
"require": "./index.js"
},
"types": "index.d.ts",
"files": [
"index.js",
"esm.mjs",
"index.d.ts",
"tokenize.js"
],
"scripts": {
"lint": "eslint index.js test/",
"test": "npm run node-test && npm run browser-test",
"pretest": "npm run lint",
"version": "standard-changelog && git add CHANGELOG.md",
"preversion": "npm test",
"postversion": "git push && git push --tags && npm publish",
"coverage": "nyc --reporter=lcov tape \"test/*.js\"",
"node-test": "tape \"test/*.js\"",
"browser-test": "browserify test/modify-code.spec.js test/tokenize.spec.js | browser-do --tap"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/dumberjs/modify-code.git"
},
"keywords": [
"sourcemap"
],
"author": "Chunpeng Huo",
"license": "MIT",
"bugs": {
"url": "https://github.com/dumberjs/modify-code/issues"
},
"homepage": "https://github.com/dumberjs/modify-code#readme",
"dependencies": {
"source-map": "^0.7.4"
},
"devDependencies": {
"browserify": "^17.0.0",
"eslint": "^8.39.0",
"nyc": "^15.1.0",
"sourcemap-codec": "^1.4.8",
"standard-changelog": "^2.0.27",
"tape": "^5.6.3",
"browser-do": "^4.1.0"
}
}