Skip to content

Commit 6c59582

Browse files
Update Travis file and npm dev dependencies (#147)
* Update Travis file and npm dev dependencies * Update gitignore
1 parent 143201e commit 6c59582

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

.gitignore

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
/.*
22
!/.gitignore
3-
!/.eslintrc.json
3+
!/.github
44
!/.travis.yml
5-
/bower_components/
6-
/node_modules/
7-
/output/
5+
6+
# Dependencies
7+
bower_components
8+
node_modules
9+
10+
# Generated files
11+
output
12+
dce-output
13+
generated-docs
14+
15+
# Lockfiles
816
package-lock.json
17+
*.lock
18+
19+
# Extra files
20+
!/.eslintrc.json

.travis.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ language: node_js
22
dist: trusty
33
sudo: required
44
node_js: stable
5+
env:
6+
- PATH=$HOME/purescript:$PATH
57
install:
6-
- npm install bower -g
8+
- TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
9+
- curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10+
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11+
- chmod a+x $HOME/purescript
12+
- npm install -g bower
713
- npm install
8-
script:
914
- bower install --production
15+
script:
1016
- npm run -s build
1117
- bower install
1218
- npm run -s test
1319
after_success:
14-
- >-
15-
test $TRAVIS_TAG &&
16-
echo $GITHUB_TOKEN | pulp login &&
17-
echo y | pulp publish --no-push
20+
- >-
21+
test $TRAVIS_TAG &&
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
"test": "eslint src && pulp test"
77
},
88
"devDependencies": {
9-
"eslint": "^6.3.0",
9+
"eslint": "^6.8.0",
1010
"body-parser": "^1.19.0",
1111
"express": "^4.17.1",
12-
"pulp": "^13.0.0",
12+
"pulp": "^14.0.0",
1313
"purescript-psa": "^0.7.3",
14-
"purescript": "^0.13.3",
15-
"rimraf": "^3.0.0",
14+
"rimraf": "^3.0.2",
1615
"xhr2": "^0.2.0"
1716
}
1817
}

0 commit comments

Comments
 (0)