Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 83cd0e4

Browse files
committed
Merge remote-tracking branch 'caridy/grunt-uglify' into contrib
Conflicts: .gitignore Gruntfile.js package.json
2 parents 0903260 + 510a517 commit 83cd0e4

File tree

4 files changed

+45
-5
lines changed

4 files changed

+45
-5
lines changed

CONTRIBUTING.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Contributing Code to `Intl.js`
2+
------------------------------
3+
4+
Dev mode installation
5+
---------------------
6+
7+
To install the dependencies:
8+
9+
npm install
10+
11+
To run the unit tests:
12+
13+
npm test
14+
15+
To build files:
16+
17+
npm run build
18+
19+
Release checklist
20+
-----------------
21+
22+
* build all files using `npm run build`
23+
* verify that [README.md] is updated
24+
* bump the version in [package.json]
25+
* commit to master
26+
* push to npm using `npm publish`
27+
* create a [new release] entry including the tag for the new version, being sure to document any deprecations
28+
29+
[README.md]: https://github.com/andyearnshaw/Intl.js/blob/master/README.md
30+
[package.json]: https://github.com/andyearnshaw/Intl.js/blob/master/package.json
31+
[new release]: https://github.com/andyearnshaw/Intl.js/releases/new

Gruntfile.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = function(grunt) {
1+
module.exports = function (grunt) {
22

33
grunt.initConfig({
44
pkg: grunt.file.readJSON('package.json'),
@@ -10,10 +10,12 @@ module.exports = function(grunt) {
1010
preserveComments: 'some'
1111
},
1212
build: {
13-
src: 'Intl.js',
14-
dest: 'Intl.min.js'
13+
files: {
14+
'Intl.min.js': ['Intl.js']
15+
}
1516
}
1617
}
18+
1719
});
1820

1921
grunt.loadNpmTasks('grunt-contrib-jshint');

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,10 @@ in the [tools](https://github.com/andyearnshaw/Intl.js/tree/master/tools) folder
9090

9191
Collation data isn't currently present since the `Intl.Collator` implementation isn't
9292
finished.
93+
94+
Contribute
95+
----------
96+
97+
See the [CONTRIBUTING file][] for info.
98+
99+
[CONTRIBUTING file]: https://github.com/andyearnshaw/Intl.js/blob/master/CONTRIBUTING.md

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
2-
"name": "Intl.js",
2+
"name": "intl-polyfill",
33
"version": "0.0.1",
44
"description": "polyfill the ECMA-402 Intl API (except collation)",
55
"main": "Intl.js",
66
"directories": {
7-
"lint": "jshint Intl.js",
87
"test": "tests"
98
},
109
"devDependencies": {
@@ -16,6 +15,7 @@
1615
},
1716
"scripts": {
1817
"build": "grunt",
18+
"lint": "jshint Intl.js",
1919
"test": "cd tests && ./run402"
2020
},
2121
"repository": {

0 commit comments

Comments
 (0)