|
1 | 1 | {
|
2 | 2 | "name": "papm",
|
3 |
| - "version": "0.0.0", |
| 3 | + "version": "0.1.0", |
4 | 4 | "description": "Performant Atom Package Manager",
|
5 | 5 | "repository": "https://github.com/atom-community/papm",
|
6 | 6 | "license": "MIT",
|
|
10 | 10 | "bin": {
|
11 | 11 | "apm": "bin/apm"
|
12 | 12 | },
|
| 13 | + "files": [ |
| 14 | + "lib", |
| 15 | + "bin", |
| 16 | + "src", |
| 17 | + "script", |
| 18 | + "templates", |
| 19 | + "native-module", |
| 20 | + ".npmrc", |
| 21 | + "pnpm-lock.yaml", |
| 22 | + "deprecated-packages.json" |
| 23 | + ], |
13 | 24 | "scripts": {
|
14 | 25 | "build": "npm run clean.lib && npm run tsc",
|
15 | 26 | "build.test": "npm run get.fixtures && shx rm -rf ./dist-spec/ ./native-module/build && shx cp -r spec dist-spec && babel ./dist-spec --out-dir ./dist-spec",
|
16 | 27 | "check-version": "node script/check-version.js",
|
17 | 28 | "clean": "npm run clean.bin && npm run clean.lib",
|
18 | 29 | "clean.bin": "shx rm -rf bin/node_darwin_x64 bin/node.exe bin/node",
|
19 |
| - "clean.lib": "shx rm -rf lib/", |
| 30 | + "clean.lib": "shx rm -rf lib/ ./native-module/build", |
20 | 31 | "copy": "shx cp -r src lib",
|
21 | 32 | "format": "prettier --write .",
|
22 | 33 | "get.fixtures": "node ./script/get-fixtures.js && shx cp -r ./spec/fixtures/r.tmbundle-patch/Snippets/ ./spec/fixtures/r.tmbundle/",
|
23 | 34 | "postinstall": "node ./script/download-node.js && shx chmod +x ./bin/npm && shx chmod +x ./bin/apm",
|
24 | 35 | "lint": "eslint . --fix",
|
25 | 36 | "prepare": "npm run build",
|
| 37 | + "prepublishOnly": "npm run clean.bin", |
26 | 38 | "test": "npm run check-version && npm run build.test && jasmine-focused --captureExceptions dist-spec",
|
27 | 39 | "test.format": "prettier . --check",
|
28 | 40 | "test.lint": "eslint .",
|
|
0 commit comments