Comparing version 3.3.1 to 3.3.2
{ | ||
"name": "tsarch", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "", | ||
"keywords": [], | ||
"main": "dist/lib/src/index.js", | ||
"types": "dist/lib/src/index.d.ts", | ||
"module": "dist/lib/src/index.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
@@ -25,5 +24,4 @@ "dist" | ||
"prebuild": "rimraf dist", | ||
"prepush": "npm run test:prod && npm run build", | ||
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src", | ||
"start": "rollup -c rollup.config.ts -w", | ||
"prepush": "npm run test:prod && npm run lint && npm run build && npm run clean", | ||
"build": "tsc --module commonjs && typedoc --out docs --target es6 --theme minimal --mode file src", | ||
"test": "jest --no-cache", | ||
@@ -38,11 +36,4 @@ "test:watch": "jest --watch --no-cache", | ||
"semantic-release-prepare": "ts-node tools/semantic-release-prepare", | ||
"precommit": "lint-staged", | ||
"travis-deploy-once": "travis-deploy-once" | ||
}, | ||
"lint-staged": { | ||
"{src,test}/**/*.ts": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"config": { | ||
@@ -49,0 +40,0 @@ "commitizen": { |
@@ -17,3 +17,2 @@ # TSArch | ||
import {TSArch} from 'tsarch' | ||
import 'tsarch/jest/ArchMatchers' | ||
@@ -32,3 +31,3 @@ describe('Architecture', () => { | ||
expect(project).toMatchArchRule(rule) | ||
expect(project).toMatchArchRule(rule) | ||
@@ -41,12 +40,2 @@ }) | ||
### NPM scripts | ||
- `npm t`: Run test suite | ||
- `npm start`: Run `npm run build` in watch mode | ||
- `npm run test:watch`: Run test suite in [interactive watch mode](http://facebook.github.io/jest/docs/cli.html#watch) | ||
- `npm run test:prod`: Run linting and generate coverage | ||
- `npm run build`: Generate bundles and typings, create docs | ||
- `npm run lint`: Lints code | ||
- `npm run commit`: Commit using conventional commit style ([husky](https://github.com/typicode/husky) will tell you to use it if you haven't :wink:) | ||
## Credits | ||
@@ -53,0 +42,0 @@ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1
164546
168
2123
54
1