Comparing version 1.0.0 to 2.0.0
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
@@ -0,0 +0,0 @@ <a name="1.0.0"></a> |
@@ -8,20 +8,16 @@ CONTRIBUTING | ||
3. `npm init` | ||
4. Run the build: `grunt` | ||
3. Run the build: `npm run build:full` | ||
- builds dist/ng-table.js and associated files | ||
5. Run the tests: `npm test` | ||
4. Run the tests: `npm test` | ||
- ie prove existing code before making your changes | ||
6. Make changes in source folder (`src`) | ||
5. Make changes in source folder (`src`) | ||
6. Minify source files: `grunt` | ||
6. Make the test pass: `npm test` | ||
7. Make the test pass | ||
8. Commit changes: | ||
7. Commit changes: | ||
- include ONLY source files ie do NOT commit files under the dist/ folder | ||
- use a commit message that follows [conventions](https://github.com/ajoslin/conventional-changelog/blob/master/conventions/angular.md) | ||
9. Push your changes to your fork and submit a pull request | ||
8. Push your changes to your fork and submit a pull request |
128
package.json
{ | ||
"name": "ng-table", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"author": "Vitalii Savchuk <esvit666@gmail.com>", | ||
@@ -10,56 +10,102 @@ "license": "BSD", | ||
}, | ||
"main": "dist/ng-table.js", | ||
"main": "bundles/ng-table.js", | ||
"module": "index.js", | ||
"typings": "index.d.ts", | ||
"release": { | ||
"branch": "typescript", | ||
"fallbackTags": { | ||
"next": "latest" | ||
} | ||
}, | ||
"publishConfig": { | ||
"tag": "next" | ||
}, | ||
"devDependencies": { | ||
"browserify": "~9.0.8", | ||
"canonical-path": "0.0.2", | ||
"@types/angular": "^1.5.13", | ||
"@types/angular-mocks": "^1.5.4", | ||
"@types/jasmine": "^2.2.33", | ||
"@types/karma-jasmine": "0.0.27", | ||
"@types/lodash": "^4.14.34", | ||
"angular": "^1.5.8", | ||
"angular-mocks": "^1.5.8", | ||
"awesome-typescript-loader": "^2.2.4", | ||
"bulk": "git+https://github.com/kumarharsh/bulk.git#68ac8daa57191f7ea79279b22b0876cf4ab19575", | ||
"coveralls": "~2.11.0", | ||
"dgeni": "~0.4.1", | ||
"dgeni-packages": "~0.10.13", | ||
"grunt": "~0.4.2", | ||
"grunt-contrib-clean": "~0.4.0", | ||
"grunt-contrib-coffee": "~0.7.0", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-connect": "~0.5.0", | ||
"grunt-contrib-copy": "~0.4.1", | ||
"grunt-contrib-cssmin": "~0.6.1", | ||
"grunt-contrib-jade": "~0.5.0", | ||
"grunt-contrib-less": "~0.5.2", | ||
"grunt-contrib-requirejs": "~0.4.0", | ||
"grunt-contrib-uglify": "0.8.x", | ||
"grunt-contrib-watch": "~0.6.x", | ||
"grunt-hustler": "0.11.2", | ||
"grunt-release": "0.13.0", | ||
"gulp": "~3.8.11", | ||
"gulp-browserify": "~0.5.1", | ||
"gulp-gh-pages": "^0.5.1", | ||
"gulp-grunt": "^0.5.2", | ||
"gulp-sequence": "~0.3.2", | ||
"gulp-wait": "0.0.2", | ||
"gulp-webserver": "^0.9.0", | ||
"css-loader": "^0.23.1", | ||
"extract-text-webpack-plugin": "^2.0.0-beta.3", | ||
"file-loader": "^0.9.0", | ||
"html-loader": "^0.4.3", | ||
"html-webpack-plugin": "^2.22.0", | ||
"http-server": "^0.9.0", | ||
"istanbul": "^0.4.4", | ||
"istanbul-instrumenter-loader": "^0.2.0", | ||
"jasmine-core": "^2.3.4", | ||
"karma": "0.13.22", | ||
"jasmine-spec-reporter": "^2.7.0", | ||
"karma": "1.1.2", | ||
"karma-chrome-launcher": "1.0.1", | ||
"karma-coverage": "1.0.0", | ||
"karma-coverage": "1.1.1", | ||
"karma-firefox-launcher": "1.0.0", | ||
"karma-jasmine": "1.0.2", | ||
"karma-ng-html2js-preprocessor": "1.0.0", | ||
"karma-phantomjs-launcher": "1.0.0", | ||
"load-grunt-tasks": "~0.2.0", | ||
"karma-phantomjs-launcher": "1.0.1", | ||
"karma-spec-reporter": "0.0.26", | ||
"karma-webpack": "^1.8.0", | ||
"lodash": "~3.7.0", | ||
"phantomjs-prebuilt": "2.1.7", | ||
"qq": "^0.3.5", | ||
"typescript": "1.8.10", | ||
"typings": "^1.2.0" | ||
"ngtemplate-loader": "git+https://github.com/wearymonkey/ngtemplate-loader.git#63e3461d8b1298de913e3528766068260915ae1f", | ||
"node-sass": "^3.8.0", | ||
"npm-run-all": "^2.3.0", | ||
"open": "0.0.5", | ||
"phantomjs-prebuilt": "2.1.10", | ||
"protractor": "^4.0.9", | ||
"protractor-jasmine2-screenshot-reporter": "^0.3.2", | ||
"resolve-url-loader": "^1.6.0", | ||
"sass-loader": "^4.0.0", | ||
"semantic-release": "^4.3.5", | ||
"shx": "^0.1.4", | ||
"style-loader": "^0.13.1", | ||
"ts-node": "^1.3.0", | ||
"typedoc": "^0.4.5", | ||
"typescript": "2.0.3", | ||
"url-loader": "^0.5.7", | ||
"webpack": "^2.1.0-beta.20", | ||
"webpack-dev-server": "^2.1.0-beta.0", | ||
"webpack-merge": "^0.14.1", | ||
"webpack-validator": "^2.2.7" | ||
}, | ||
"scripts": { | ||
"init": "bower prune && bower install && npm run typings", | ||
"test": "npm run tsc && karma start --single-run --no-auto-watch", | ||
"build:all": "npm-run-all --parallel build:full tsc --serial build:demo-apps", | ||
"build:demo-apps": "shx ls -d demo-apps/*/ | bulk -c \"npm run build\"", | ||
"build": "webpack --progress --profile --env.debug", | ||
"build:prod": "webpack --progress --profile --env.prod", | ||
"build:full": "webpack --progress --profile --env.prod --env.debug", | ||
"clean:all": "npm run clean && shx ls -d demo-apps/*/ | bulk -c \"npm run clean\"", | ||
"clean": "shx rm -f index.d.ts src/browser/*.js src/browser/*.js.map src/browser/*.d.ts src/core/*.js src/core/*.js.map src/core/*.d.ts test/*.spec.js test/*.spec.js.map test/*.spec.d.ts demo-apps/ts-webpack/src/**/*.js demo-apps/ts-webpack/src/**/*.js.map", | ||
"predoc": "shx rm -rf docs", | ||
"doc": "typedoc --options typedoc.json index.ts", | ||
"predoc-serve": "npm run doc", | ||
"doc-serve": "http-server docs -o -c-1", | ||
"e2e-server": "http-server demo-apps -c-1", | ||
"e2e-server:ci": "http-server demo-apps -s -c-1 &", | ||
"e2e": "protractor e2e/protractor.config.js", | ||
"e2e:ci": "protractor e2e/protractor-travis.config", | ||
"poste2e": "node ./scripts/open-e2e-report", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post", | ||
"setup:demo-apps": "shx ls -d demo-apps/*/ | bulk -c \"npm install\"", | ||
"_setup:common": "npm-run-all --parallel build tsc --serial setup:demo-apps", | ||
"setup:ci": "npm run _setup:common", | ||
"setup": "npm-run-all --parallel _setup:common update-webdriver", | ||
"shrinkwrap:demo-apps": "shx ls -d demo-apps/*/ | bulk -c \"npm shrinkwrap --dev\"", | ||
"test": "karma start --single-run --no-auto-watch", | ||
"test:debug": "karma start --no-single-run --no-auto-watch", | ||
"tsc": "tsc", | ||
"tsc:w": "tsc -w", | ||
"typings": "typings install" | ||
"update-webdriver": "webdriver-manager update", | ||
"validate-webpack": "webpack-validator webpack.config.js --env.dev --env.test --env.prod", | ||
"watch:debug": "webpack --watch --env.debug", | ||
"watch": "webpack --watch", | ||
"webpack": "webpack" | ||
}, | ||
"dependencies": {}, | ||
"peerDependencies": { | ||
"@types/angular": "^1.5.13", | ||
"angular": "^1.2" | ||
} | ||
} | ||
} |
@@ -38,27 +38,26 @@ Table + AngularJS | ||
**Bower** | ||
**NPM** | ||
``` | ||
bower install ng-table --save | ||
npm install ng-table --save | ||
``` | ||
**NPM** | ||
## Using Typescript? | ||
Install the type definition files for ng-table: | ||
``` | ||
npm install ng-table --save | ||
typings install github:christianacca/typed-ng-table/typings.json#930b5a14174e594d6167691ed0938be42a6b06aa --global --save | ||
``` | ||
**IMPORTANT: the version on npm is out of date**. Waiting on project owner to grant publish rights. | ||
**WARNING:**. The type definitions on [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/ng-table) | ||
and [@types/ng-table](https://www.npmjs.com/package/@types/ng-table) are depreciated. | ||
## Development | ||
We use Karma to ensure the quality of the code. The easiest way to run these checks is to use grunt: | ||
We use Karma to ensure the quality of the code. The easiest way to run these checks is to use `npm test`: | ||
```sh | ||
npm install -g grunt-cli | ||
npm install && bower install | ||
grunt | ||
npm install | ||
npm test | ||
``` | ||
The karma task will try to open Firefox and Chrome as browser in which to run the tests. Make sure this is available or change the configuration in `karma.conf.js` | ||
## Configuring ng-table | ||
@@ -89,2 +88,3 @@ For a list of configuration options available, see [examples website](http://ng-table.com/) | ||
## Examples | ||
@@ -91,0 +91,0 @@ |
RELEASING | ||
============ | ||
1. Update [semver](http://semver.org/) version number in: | ||
- package.json | ||
- bower.json | ||
1. Update [semver](http://semver.org/) version number in `package.json` | ||
2. Minify source files: `grunt` | ||
2. Minify source files: `npm run build:full` | ||
@@ -19,3 +17,2 @@ 3. Make the test pass: `npm test` | ||
- dist/*.* | ||
- bower.json | ||
- package.json | ||
@@ -22,0 +19,0 @@ - CHANGELOG.md |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
507916
91
5866
2
2
49
3