File tree 8 files changed +71
-69
lines changed
8 files changed +71
-69
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "parserOptions" : {
3
+ "ecmaVersion" : 5
4
+ },
5
+ "extends" : " eslint:recommended" ,
6
+ "env" : {
7
+ "commonjs" : true
8
+ },
9
+ "rules" : {
10
+ "strict" : [2 , " global" ],
11
+ "block-scoped-var" : 2 ,
12
+ "consistent-return" : 2 ,
13
+ "eqeqeq" : [2 , " smart" ],
14
+ "guard-for-in" : 2 ,
15
+ "no-caller" : 2 ,
16
+ "no-extend-native" : 2 ,
17
+ "no-loop-func" : 2 ,
18
+ "no-new" : 2 ,
19
+ "no-param-reassign" : 2 ,
20
+ "no-return-assign" : 2 ,
21
+ "no-unused-expressions" : 2 ,
22
+ "no-use-before-define" : 2 ,
23
+ "radix" : [2 , " always" ],
24
+ "indent" : [2 , 2 ],
25
+ "quotes" : [2 , " double" ],
26
+ "semi" : [2 , " always" ]
27
+ }
28
+ }
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - uses : purescript-contrib/setup-purescript@main
16
+
17
+ - uses : actions/setup-node@v1
18
+ with :
19
+ node-version : " 10"
20
+
21
+ - name : Install dependencies
22
+ run : |
23
+ npm install -g bower
24
+ npm install
25
+ bower install --production
26
+
27
+ - name : Build source
28
+ run : npm run-script build
29
+
30
+ - name : Run tests
31
+ run : |
32
+ bower install
33
+ npm run-script test --if-present
Original file line number Diff line number Diff line change 1
1
/. *
2
2
! /.gitignore
3
- ! /.jscsrc
4
- ! /.jshintrc
5
- ! /.travis.yml
3
+ ! /.eslintrc.json
4
+ ! /.github /
6
5
/bower_components /
7
6
/node_modules /
8
7
/output /
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# purescript-node-url
2
2
3
3
[ ![ Latest release] ( http://img.shields.io/github/release/purescript-node/purescript-node-url.svg )] ( https://github.com/purescript-node/purescript-node-url/releases )
4
- [ ![ Build Status] ( https://travis-ci.org/purescript-node/purescript-node-url.svg?branch=master )] ( https://travis-ci.org/purescript-node/purescript-node-url )
4
+ [ ![ Build status] ( https://github.com/purescript-node/purescript-node-url/workflows/CI/badge.svg?branch=master )] ( https://github.com/purescript-node/purescript-node-url/actions?query=workflow%3ACI+branch%3Amaster )
5
+ [ ![ Pursuit] ( https://pursuit.purescript.org/packages/purescript-node-url/badge )] ( https://pursuit.purescript.org/packages/purescript-node-url )
5
6
6
7
A wrapper for Node's ` URL ` and ` QueryString ` APIs
7
8
8
9
## Installation
9
10
10
11
```
11
- bower install purescript- node-url
12
+ spago install node-url
12
13
```
13
14
14
15
## Documentation
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"clean" : " rimraf output && rimraf .pulp-cache" ,
5
- "build" : " jshint src && jscs src && pulp build -- --censor-lib --strict" ,
6
- "test" : " pulp test"
5
+ "build" : " eslint src && pulp build -- --censor-lib --strict"
7
6
},
8
7
"devDependencies" : {
9
- "jscs" : " ^3.0.7" ,
10
- "jshint" : " ^2.9.5" ,
11
- "pulp" : " ^12.2.0" ,
12
- "purescript-psa" : " ^0.6.0" ,
13
- "rimraf" : " ^2.6.2"
8
+ "eslint" : " ^7.15.0" ,
9
+ "pulp" : " ^15.0.0" ,
10
+ "purescript-psa" : " ^0.8.0" ,
11
+ "rimraf" : " ^3.0.2"
14
12
}
15
13
}
You can’t perform that action at this time.
0 commit comments