Build: refactoring
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
"engines": {
|
||||
"atom": ">=1.17.0"
|
||||
},
|
||||
"main": "./dist/index",
|
||||
"dependencies": {
|
||||
"atom-languageclient": "0.1.4",
|
||||
"decompress": "^4.2.0",
|
||||
@@ -15,15 +14,17 @@
|
||||
"remote-file-size": "^3.0.3",
|
||||
"postinstall-build": "^3.0.0"
|
||||
},
|
||||
"main": "./build/lib/index",
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist node_modules",
|
||||
"compile": "babel src --out-dir dist",
|
||||
"clean": "rm -rf build",
|
||||
"compile": "babel lib --out-dir build/lib",
|
||||
"postinstall": "postinstall-build --only-as-dependency build \"npm run compile\"",
|
||||
"watch": "babel src --out-dir dist -w"
|
||||
"prepublish": "npm run clean && npm run compile",
|
||||
"watch": "babel lib --out-dir build/lib -w"
|
||||
},
|
||||
"atomTranspilers": [
|
||||
{
|
||||
"glob": "{src}/**/*.js",
|
||||
"glob": "{lib}/**/*.js",
|
||||
"transpiler": "atom-babel6-transpiler",
|
||||
"options": {
|
||||
"cacheKeyFiles": [
|
||||
@@ -35,7 +36,6 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"atom-babel6-transpiler": "0.0.3",
|
||||
"atom-mocha-test-runner": "^1.0.0",
|
||||
"babel-cli": "^6.24.0",
|
||||
"babel-core": "6.22.1",
|
||||
"babel-plugin-add-module-exports": "0.2.1",
|
||||
|
||||
@@ -3,15 +3,17 @@ set -e
|
||||
set -v
|
||||
workdir=`pwd`
|
||||
output=$workdir/out
|
||||
atom_commons=$workdir/sts4/atom-extensions/atom-commons
|
||||
atom_package=$workdir/package_sources
|
||||
|
||||
url=`cat fatjar/url`
|
||||
|
||||
cd package_sources
|
||||
cd $atom_commons
|
||||
npm install
|
||||
|
||||
npm install ../sts4/atom-extensions/atom-commons
|
||||
cd ./node_modules/pivotal-atom-languageclient-commons
|
||||
ls -la
|
||||
cd ../../
|
||||
cd $atom_package
|
||||
|
||||
npm install ${atom_commons}
|
||||
|
||||
cat > properties.json << EOF
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user