File tree Expand file tree Collapse file tree 4 files changed +46
-27
lines changed Expand file tree Collapse file tree 4 files changed +46
-27
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
dist : trusty
3
3
sudo : required
4
- node_js :
5
- - 6
4
+ node_js : stable
6
5
install :
7
- - npm install pulp bower -g
8
- - npm install && bower install
6
+ - npm install -g bower
7
+ - npm install
8
+ - bower install --production
9
9
script :
10
- - npm run test
10
+ - npm run -s build
11
+ - bower install
12
+ - npm run -s test
13
+ after_success :
14
+ - >-
15
+ test $TRAVIS_TAG &&
16
+ echo $GITHUB_TOKEN | pulp login &&
17
+ echo y | pulp publish --no-push
Original file line number Diff line number Diff line change 1
1
# purescript-formatters
2
- Replacement for numeral.js, moment.js etc
2
+
3
+ [ ![ Latest release] ( http://img.shields.io/github/release/slamdata/purescript-formatters.svg )] ( https://github.com/slamdata/purescript-formatters/releases )
4
+ [ ![ Build status] ( https://travis-ci.org/slamdata/purescript-formatters.svg?branch=master )] ( https://travis-ci.org/slamdata/purescript-formatters )
5
+
6
+ A PureScript alternative to numeral.js, moment.js, etc.
7
+
8
+ ## Installation
9
+
10
+ ```
11
+ bower install purescript-formatters
12
+ ```
3
13
4
14
## Number formatters
5
15
@@ -47,3 +57,7 @@ This is just subset of format/parse string from moment.js library. Currently sup
47
57
+ ` mm `
48
58
+ ` ss `
49
59
+ ` SSS `
60
+
61
+ ## Documentation
62
+
63
+ Module documentation is published on Pursuit: [ http://pursuit.purescript.org/packages/purescript-formatters ] ( http://pursuit.purescript.org/packages/purescript-formatters )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " purescript-formatters" ,
3
+ "homepage" : " https://github.com/slamdata/purescript-formatters" ,
4
+ "license" : " Apache-2.0" ,
5
+ "repository" : {
6
+ "type" : " git" ,
7
+ "url" : " git://github.com/slamdata/purescript-formatters.git"
8
+ },
3
9
"ignore" : [
4
10
" **/.*" ,
5
- " node_modules" ,
6
11
" bower_components" ,
7
- " output"
12
+ " node_modules" ,
13
+ " output" ,
14
+ " test" ,
15
+ " bower.json" ,
16
+ " package.json"
8
17
],
9
18
"dependencies" : {
10
19
"purescript-prelude" : " ^2.1.0" ,
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " purescript-formatters" ,
3
- "description" : " Replacement for numeral.js, moment.js etc" ,
4
- "repository" : {
5
- "type" : " git" ,
6
- "url" : " https://github.com/slamdata/purescript-formatters"
7
- },
8
- "contributors" : [
9
- " Maxim Zimaliev <[email protected] >"
10
- ],
11
- "license" : " Apache-2.0" ,
12
- "bugs" : {
13
- "url" : " https://github.com/slamdata/purescript-formatters/issues"
14
- },
2
+ "private" : true ,
15
3
"scripts" : {
16
- "build" : " pulp build -- --censor-lib --strict --stash" ,
17
- "test" : " pulp test -- --censor-lib --strict --stash"
4
+ "clean" : " rimraf output && rimraf .pulp-cache" ,
5
+ "build" : " pulp build -- --censor-lib --strict" ,
6
+ "test" : " pulp test"
18
7
},
19
- "homepage" : " https://github.com/slamdata/purescript-formatters#readme" ,
20
- "dependencies" : {
21
- "pulp" : " ^9.1.0" ,
8
+ "devDependencies" : {
9
+ "pulp" : " ^10.0.1" ,
22
10
"purescript" : " ^0.10.7" ,
23
- "purescript-psa" : " ^0.3.9"
11
+ "purescript-psa" : " ^0.4.0" ,
12
+ "rimraf" : " ^2.6.1"
24
13
}
25
14
}
You can’t perform that action at this time.
0 commit comments